diff --git a/init.vim b/init.vim index 6e635f9..2366cd7 100644 --- a/init.vim +++ b/init.vim @@ -70,3 +70,4 @@ source ~/.config/nvim/timestamp.vim source ~/.config/nvim/ale.vim source ~/.config/nvim/html.vim source ~/.config/nvim/python.vim +source ~/.config/nvim/rust.vim diff --git a/modula2.vim b/modula2.vim index dbbacaf..d26ca25 100644 --- a/modula2.vim +++ b/modula2.vim @@ -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 diff --git a/rust.vim b/rust.vim new file mode 100644 index 0000000..fc9866d --- /dev/null +++ b/rust.vim @@ -0,0 +1,2 @@ +" No spell checking in code file +autocmd BufNewFile,BufRead *.rs nospell