nvim: Set commentstring for hurl
This commit is contained in:
parent
6b231e8192
commit
3ae6439c1e
1 changed files with 3 additions and 1 deletions
|
|
@ -287,6 +287,7 @@ autocmd FileType proto setlocal ts=2 sts=2 sw=2 expandtab
|
||||||
|
|
||||||
autocmd FileType markdown setlocal commentstring=<!--%s-->
|
autocmd FileType markdown setlocal commentstring=<!--%s-->
|
||||||
autocmd FileType hoon setlocal commentstring=::%s
|
autocmd FileType hoon setlocal commentstring=::%s
|
||||||
|
autocmd FileType hurl setlocal commentstring=#%s
|
||||||
|
|
||||||
set secure
|
set secure
|
||||||
|
|
||||||
|
|
@ -294,8 +295,9 @@ autocmd FileType markdown setlocal spell
|
||||||
autocmd FileType text setlocal spell
|
autocmd FileType text setlocal spell
|
||||||
set spellcapcheck=
|
set spellcapcheck=
|
||||||
|
|
||||||
autocmd BufNewFile,BufRead *.arb set filetype=ruby
|
autocmd BufNewFile,BufRead *.arb set filetype=ruby
|
||||||
autocmd BufNewFile,BufRead *.html.erb set filetype=eruby.html
|
autocmd BufNewFile,BufRead *.html.erb set filetype=eruby.html
|
||||||
|
autocmd BufNewFile,BufRead *.hurl set filetype=hurl
|
||||||
|
|
||||||
autocmd FileType ledger nmap <silent> <leader>' :call ledger#transaction_state_toggle(line('.'), ' !*')<CR>
|
autocmd FileType ledger nmap <silent> <leader>' :call ledger#transaction_state_toggle(line('.'), ' !*')<CR>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue