summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@protonmail.com>2018-05-24 21:59:51 +0200
committerEkaitz Zárraga <ekaitz.zarraga@protonmail.com>2018-05-24 21:59:51 +0200
commitfb533af93255f15a51a58cb57faa5825119b0a64 (patch)
treee2aa7ab1c2513fafd04fb3616d9da334649cd795 /nvim
parentf6f9badde5dac7a996aa6000e25c6607a44223e5 (diff)
Better configuration for nvim:
- Markdown 4 spaces in tabs - New plugins
Diffstat (limited to 'nvim')
-rw-r--r--nvim/nvim/ftplugin/html.vim2
-rw-r--r--nvim/nvim/ftplugin/markdown.vim4
-rw-r--r--nvim/nvim/init.vim7
3 files changed, 6 insertions, 7 deletions
diff --git a/nvim/nvim/ftplugin/html.vim b/nvim/nvim/ftplugin/html.vim
deleted file mode 100644
index 9659508..0000000
--- a/nvim/nvim/ftplugin/html.vim
+++ /dev/null
@@ -1,2 +0,0 @@
-setlocal tabstop=2 softtabstop=0 expandtab shiftwidth=2
-setlocal autoindent
diff --git a/nvim/nvim/ftplugin/markdown.vim b/nvim/nvim/ftplugin/markdown.vim
index f40bef5..fac588d 100644
--- a/nvim/nvim/ftplugin/markdown.vim
+++ b/nvim/nvim/ftplugin/markdown.vim
@@ -9,7 +9,3 @@ augroup SENTENCES
au!
autocmd InsertCharPre * if &ft=='markdown' | if search('\v(%^|[.!?]\_s+|\_^\-\s|\_^title\:\s|\n\n)%#', 'bcnw') != 0 | let v:char = toupper(v:char) | endif | endif
augroup END
-
-" Tabs to 2 spaces
-setlocal tabstop=2 softtabstop=0 expandtab shiftwidth=2
-setlocal autoindent
diff --git a/nvim/nvim/init.vim b/nvim/nvim/init.vim
index 597c8cf..36886ee 100644
--- a/nvim/nvim/init.vim
+++ b/nvim/nvim/init.vim
@@ -14,12 +14,17 @@ Plugin 'ekaitz-zarraga/droWMark'
" CoffeeScript stuff
Plugin 'kchmck/vim-coffee-script'
-" Paredit for clojure and lisp
+" Paredit for Clojure and Lisp
Plugin 'vim-scripts/paredit.vim'
+" Clojure REPL integration
+Plugin 'tpope/vim-fireplace'
" Syntax highlighting for Rust
Plugin 'wting/rust.vim'
+" Prose in Vim
+Plugin 'junegunn/goyo.vim'
+
" Add plugins here
call vundle#end() " required