622 Commits

Author SHA1 Message Date
Caleb Maclennan
2c87cae76e Merge pull request #475 from tomtomjhj/refactor 2021-07-31 20:24:00 +03:00
Jaehwang Jerry Jung
f7333809b6 Prefer single quoted strings 2021-08-01 00:57:34 +09:00
Jaehwang Jerry Jung
576bd64482 {Save,Restore}ScreenState → win{save,rest}view 2021-08-01 00:45:16 +09:00
Jaehwang Jerry Jung
ed591cb2a2 substitute(.., '..\(pat\)..', '\1') → matchstr() 2021-08-01 00:33:13 +09:00
Jaehwang Jerry Jung
d398a0278c [ \t] → \s, [^ \t] → \S 2021-08-01 00:33:13 +09:00
Caleb Maclennan
85364c56c4 Merge pull request #473 from preservim/shim-functions 2021-07-29 17:41:36 +03:00
Caleb Maclennan
b1bb758f14 Fix vimscript lint warnings 2021-07-29 17:26:06 +03:00
Caleb Maclennan
eeabded555 Pass range data through, error on case we can't shim 2021-07-29 17:20:35 +03:00
Caleb Maclennan
918592cdc6 Add warning messages to deprecated function calls 2021-07-29 16:49:12 +03:00
Caleb Maclennan
8e935a6367 Restore use to IsCharCommented function after autoload refactor goof 2021-07-29 16:48:31 +03:00
Caleb Maclennan
f21b0f8fab Add shim functions to pass through to autoload namespace 2021-07-29 16:23:49 +03:00
Caleb Maclennan
c526e3957f Move docs to proper namespace matching autoload 2021-07-29 15:42:53 +03:00
Caleb Maclennan
47ab32444d Merge pull request #470 from tomtomjhj/setup 2021-07-29 13:02:07 +03:00
Jaehwang Jerry Jung
8e8d74faaf fix and refactor SetUpForNewFiletype
* fix: variables are not set for a new buffer with filetype = s:last_filetype
* remove unused parameter and simplify name
2021-07-29 18:07:13 +09:00
Caleb Maclennan
dbc631adf9 Merge pull request #376 from Houl/autoload
Refactor using VIM's autoload plugin system
2021-07-27 17:04:53 +03:00
Caleb Maclennan
ea11ba5a79 Use the abort attribute for functions in autoload 2021-07-27 16:58:12 +03:00
antonk52
3768b28aa4 expose delimeter map via nerdcommenter#delimiterMap 2021-07-24 22:05:07 +01:00
antonk52
f12042b675 setup global variables and keymaps in plugin/nerdcommenter.vim 2021-07-24 21:55:50 +01:00
Caleb Maclennan
dec06b1fb9 Merge branch 'master' into autoload 2021-07-20 12:46:30 +03:00
Jaehwang Jerry Jung
a5d1663185 Fix multibyte character bug in block comment (#469)
<Plug>NERDCommenterComment using block comment on visual block whose
last char is unicode breaks up the unicode char. Example:

    a가 → /* a<ea> */<b0><80>

To fix this, add the character's byte length to the index used for
chopping the right part of the text block to be commented.
2021-05-29 14:00:30 +03:00
Caleb Maclennan
ab475e1325 Add filetype for exim configs 2021-04-30 12:31:25 +03:00
Caleb Maclennan
d9366fc27c Add filetype for bind-named (similar to named, used by some plugins) 2021-04-30 12:31:10 +03:00
Caleb Maclennan
1b53686d5f Merge pull request #466 from natesire/master 2021-04-13 08:23:21 +03:00
Nate Sire
b2642c8ed9 Add Directions for Vim 8+ Packages 2021-04-13 08:21:08 +03:00
Nate Sire
d4855b233e Wrap installation blurbs in expandable summary/detail blocks 2021-04-13 08:20:25 +03:00
Gabriel Nagy
6d0ab7dec9 Add hocon filetype (#465)
Add support for commenting hocon files.

[1] https://github.com/lightbend/config/blob/main/HOCON.md#comments
2021-04-06 09:57:40 +03:00
Adrien Lemaire
16ecc429ec Add neo4j cypher filetype (#464)
Let nerdcommenter properly comment cypher files.

* [extension recommendation](https://neo4j.com/docs/cypher-manual/current/styleguide/#cypher-styleguide-general-recommendations)
* [comments syntax](https://neo4j.com/docs/cypher-manual/current/syntax/comments/)
2021-02-27 12:25:37 +03:00
Bertold Sedlak
1c7b57608e Add UC4 Filetype (#462)
Add Support for UC4 Scripts as used by Automic Automation Engine
See docs for details:
https://docs.automic.com/documentation/webhelp/english/AWA/11.2/AE/11.2/All%20Guides/Content/ucabqx.htm
2021-02-18 06:44:26 +03:00
kevinhwang91
b83e9cdf83 fix: uncomment Lua in sexy mode with NERDCompactSexyComs=1 (#451) 2021-02-02 10:29:10 +03:00
John Flores
898de2de1b Update rego comment to # (#459) 2021-01-31 09:41:13 +03:00
Alex Hübner
2955d669dc Fix leftAlt for filetype rmd (#458) 2021-01-27 11:22:41 +03:00
Tiger Nie
7be3292b8d Add support for jsonc (#455) 2021-01-19 12:38:54 +03:00
Rich Churcher
7d2fb974a3 Add a note on binds for text object motions (#454) 2021-01-12 07:33:59 +03:00
Repon Kumar Roy
119b99d166 Add support for the jsonnet language (#450)
Co-authored-by: Repon Kumar Roy <kowshik.roy@grabtaxi.com>
2020-12-11 12:19:05 +03:00
Cristiano De Michele
f02686f2f6 Fix alternative delimiter issue #425 (#440)
Co-authored-by: Cristiano De Michele <cristiano.demichele@uniroma1.it>
2020-12-03 12:33:37 +03:00
Priyansh Saxena
3441a98b2d Add support for Rego (Open Policy Agent) (#446) 2020-12-01 09:37:49 +03:00
Wynell
253eafd3a7 Mention g:NERDCreateDefaultMappings in README.md (#445) 2020-11-19 12:25:03 +03:00
Sybrand Aarnoutse
85750560a6 Add delimiter for the nix language. (#442) 2020-10-30 22:25:01 +03:00
Caleb Maclennan
19f677513c Fix lint errors intoduced during autoload refactor 2020-06-08 18:26:34 +03:00
Caleb Maclennan
7caf7b58a1 Merge branch 'master' into autoload 2020-06-08 18:16:18 +03:00
Andy Wokula
1f4a238e73 Merge remote-tracking branch 'upstream/master'
Ignored changes in other README!
2020-06-08 18:16:01 +03:00
Andy Wokula
2e50bcbb8d Add one more menu mode 2020-06-08 18:16:00 +03:00
Andy Wokula
a5772187fa Use more cautious init check 2020-06-08 18:15:55 +03:00
Andy Wokula
592d5767e0 Use string() 2020-06-08 18:15:55 +03:00
Andy Wokula
5a5bad0ece Merge remote-tracking branch 'upstream/master' 2020-06-08 18:15:55 +03:00
Andy Wokula
656f6b5beb Normalize case in keycodes 2020-06-08 18:15:43 +03:00
Andy Wokula
cb5fb95a81 Remove loading guards not needed in autoload scripts 2020-06-08 16:16:52 +03:00
Andy Wokula
f9a87bf68f Rename functions, add plug function 2020-06-08 16:16:52 +03:00
Andy Wokula
f62c4ca1d4 Move plugin file to autoload 2020-06-08 15:59:21 +03:00
Caleb Maclennan
fade3d4b26 Merge pull request #427 from preservim/remove-cruft 2020-06-08 15:24:46 +03:00