home: vim: add gn ftplugin
This commit is contained in:
parent
dca6a9018b
commit
13f20a28eb
1 changed files with 6 additions and 0 deletions
6
modules/home/vim/after/ftplugin/gn.vim
Normal file
6
modules/home/vim/after/ftplugin/gn.vim
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
||||||
|
call ftplugined#check_undo_ft()
|
||||||
|
|
||||||
|
" Set comment string, as it seems that no official GN support exists upstream
|
||||||
|
setlocal commentstring=#\ %s
|
||||||
|
let b:undo_ftplugin.='|setlocal commentstring<'
|
||||||
Loading…
Add table
Add a link
Reference in a new issue