nvim: Add template file syntax highlighting
This commit is contained in:
@ -123,6 +123,14 @@ inoremap <right> <nop>
|
||||
syntax enable
|
||||
filetype plugin indent on
|
||||
|
||||
" Handlebars -> HTML
|
||||
autocmd BufNewFile,BufRead *.hbs set syntax=html
|
||||
|
||||
" Config template files
|
||||
autocmd BufNewFile,BufRead *.vim.tpl set syntax=vim
|
||||
autocmd BufNewFile,BufRead *.yml.tpl set syntax=yaml
|
||||
autocmd BufNewFile,BufRead *.toml.tpl set syntax=toml
|
||||
|
||||
" Rust syntax highlighting for rust-ish files
|
||||
autocmd BufNewFile,BufRead *.ron set syntax=rust
|
||||
autocmd BufNewFile,BufRead *.lalrpop set syntax=rust
|
||||
|
||||
Reference in New Issue
Block a user