-
Notifications
You must be signed in to change notification settings - Fork 460
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This PR reverts commit a1c76b2. The main rationale behind this is IMO the current implementation of this function has several limitations that need to be addressed: 1. It works with only a single file, which is not typical for most use cases 2. It only supports gcc as the compiler, whereas other compilers (most notably clang, xlc, cl.exe and friends) are not supported 3. There's no way to control compile and/or build flags 4. File type detection is too restrictive and doesn't cover all cases (using vim's ftplugins may be more effective) and 5. Violating any of these assumptions results in errors, rendering this keymap completely ineffective If you want to utilize this function, please refer to the previous impl and add it on your own. (a1c76b2) Co-authored-by: ayamir <[email protected]>
- Loading branch information
Showing
4 changed files
with
3 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters