aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/share/nvim
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-08-12 00:34:31 +0300
committerYaroslav <contact@yaroslavps.com>2020-08-12 00:34:31 +0300
commitfd2c69bf1821d9d0f1b489f9161e0a6ddd7d105d (patch)
tree225c196ce2a279b9f5ed396144fa1c1b22ee7564 /dotfiles/.local/share/nvim
parent93e4cfe9fcfc685328b214ad2e0e3d90ceab5519 (diff)
downloadvimrice-fd2c69bf1821d9d0f1b489f9161e0a6ddd7d105d.tar.gz
vimrice-fd2c69bf1821d9d0f1b489f9161e0a6ddd7d105d.zip
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
Diffstat (limited to 'dotfiles/.local/share/nvim')
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/mail.vim3
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/markdown.vim2
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/tex.vim2
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/text.vim3
4 files changed, 8 insertions, 2 deletions
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 = "<c-p>"
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 = "<c-p>"
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 = "<c-p>"
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 = "<c-p>"