From fd2c69bf1821d9d0f1b489f9161e0a6ddd7d105d Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Wed, 12 Aug 2020 00:34:31 +0300 Subject: filetype related changes * Updated some filetype.vim that are related to simple text or prose writing (not coding related) to use a different context with SuperTab * Use LanguageClient-neovim + RLS instead of racer --- dotfiles/.local/share/nvim/site/after/ftplugin/mail.vim | 3 +++ dotfiles/.local/share/nvim/site/after/ftplugin/markdown.vim | 2 +- dotfiles/.local/share/nvim/site/after/ftplugin/tex.vim | 2 +- dotfiles/.local/share/nvim/site/after/ftplugin/text.vim | 3 +++ 4 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 dotfiles/.local/share/nvim/site/after/ftplugin/mail.vim create mode 100644 dotfiles/.local/share/nvim/site/after/ftplugin/text.vim (limited to 'dotfiles/.local/share') diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/mail.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/mail.vim new file mode 100644 index 0000000..2bc09e9 --- /dev/null +++ b/dotfiles/.local/share/nvim/site/after/ftplugin/mail.vim @@ -0,0 +1,3 @@ +setlocal tw=72 +setlocal spell spelllang=en_us,es,ru +let b:SuperTabContextDefaultCompletionType = "" diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/markdown.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/markdown.vim index 71a1c6b..d248326 100644 --- a/dotfiles/.local/share/nvim/site/after/ftplugin/markdown.vim +++ b/dotfiles/.local/share/nvim/site/after/ftplugin/markdown.vim @@ -1,3 +1,3 @@ - setlocal tw=80 setlocal spell spelllang=en_us,es,ru +let b:SuperTabContextDefaultCompletionType = "" diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/tex.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/tex.vim index 71a1c6b..d248326 100644 --- a/dotfiles/.local/share/nvim/site/after/ftplugin/tex.vim +++ b/dotfiles/.local/share/nvim/site/after/ftplugin/tex.vim @@ -1,3 +1,3 @@ - setlocal tw=80 setlocal spell spelllang=en_us,es,ru +let b:SuperTabContextDefaultCompletionType = "" diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/text.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/text.vim new file mode 100644 index 0000000..d248326 --- /dev/null +++ b/dotfiles/.local/share/nvim/site/after/ftplugin/text.vim @@ -0,0 +1,3 @@ +setlocal tw=80 +setlocal spell spelllang=en_us,es,ru +let b:SuperTabContextDefaultCompletionType = "" -- cgit v1.2.3