From f65e7425a8738232266a942b2efb9395d338f6c2 Mon Sep 17 00:00:00 2001 From: Jali Date: Thu, 6 May 2021 14:35:17 +0200 Subject: [PATCH] Added support for rust files --- init.vim | 1 + modula2.vim | 3 ++- rust.vim | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 rust.vim 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