diff options
author | Teddy Wing | 2019-06-20 00:11:04 +0200 |
---|---|---|
committer | Teddy Wing | 2019-06-20 00:11:04 +0200 |
commit | 6b7ec75352940b419acb09dd455be1ebcaff4a52 (patch) | |
tree | 54b3c6134802150ea8d4a26abd63ebe259683cc8 /ftplugin/lua.vim | |
parent | 8eedae802b1ee5e4f43cfa39b3d7962afcb144ed (diff) | |
download | dotvim-6b7ec75352940b419acb09dd455be1ebcaff4a52.tar.bz2 |
Add ftplugin/lua.vim
* Set 'commentstring'
* Fix comment wrapping by adding `--` to 'comments'. Otherwise no
leading comment markers would be inserted when text wrapped to the
next line.
Diffstat (limited to 'ftplugin/lua.vim')
-rw-r--r-- | ftplugin/lua.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ftplugin/lua.vim b/ftplugin/lua.vim new file mode 100644 index 0000000..222abff --- /dev/null +++ b/ftplugin/lua.vim @@ -0,0 +1,7 @@ +" Lua vim settings + +" Comment string +setlocal commentstring=--\ %s + +" Make comment wrapping work +setlocal comments+=b:-- |