Added support for rust files

This commit is contained in:
2021-05-06 14:35:17 +02:00
parent 108e238118
commit f65e7425a8
3 changed files with 5 additions and 1 deletions

View File

@@ -70,3 +70,4 @@ source ~/.config/nvim/timestamp.vim
source ~/.config/nvim/ale.vim source ~/.config/nvim/ale.vim
source ~/.config/nvim/html.vim source ~/.config/nvim/html.vim
source ~/.config/nvim/python.vim source ~/.config/nvim/python.vim
source ~/.config/nvim/rust.vim

View File

@@ -1 +1,2 @@
" forces files that end in .mod or " No spell checking in code file
autocmd BufNewFile,BufRead *.M,*.I,*.D,*.MOD,*.DEF nospell

2
rust.vim Normal file
View File

@@ -0,0 +1,2 @@
" No spell checking in code file
autocmd BufNewFile,BufRead *.rs nospell