Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<F2> mapping to rename all occurrences of variable
* The plug-in now defines a buffer local <F2> mapping inside Lua buffers which renames all occurrences of the variable under the text cursor. * I've structured the communication between Vim and Lua so that more modes/actions can be easily added and so that when, for example, a syntax error is found while trying to perform the rename action, the plug-in will recognize and highlight the syntax error instead of doing nothing (because the syntax error makes the AST unavailable). * Just for reference: The Python script I use to package the plug-in now includes the luainspect README/COPYRIGHT & metalua LICENSE files
- Loading branch information
Showing
4 changed files
with
152 additions
and
55 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