summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim')
-rw-r--r--nvim/nvim/ftplugin/html.vim9
-rw-r--r--nvim/nvim/init.vim11
-rw-r--r--nvim/nvim/shada/main.shadabin159 -> 3678 bytes
3 files changed, 3 insertions, 17 deletions
diff --git a/nvim/nvim/ftplugin/html.vim b/nvim/nvim/ftplugin/html.vim
index fc0d53a..6a56808 100644
--- a/nvim/nvim/ftplugin/html.vim
+++ b/nvim/nvim/ftplugin/html.vim
@@ -1,11 +1,2 @@
set tabstop=2 softtabstop=0 expandtab shiftwidth=2
set autoindent
-
-" Test some wrapping on the html
-setlocal textwidth=79
-setlocal formatoptions+=t
-
-" Highlight where the lines are more than 80 characters wide
-setlocal colorcolumn=80
-highlight ColorColumn ctermbg=LightGreen
-
diff --git a/nvim/nvim/init.vim b/nvim/nvim/init.vim
index 497fa83..22315c9 100644
--- a/nvim/nvim/init.vim
+++ b/nvim/nvim/init.vim
@@ -1,8 +1,8 @@
" Vundle stuff ----------------------------------------------
set nocompatible
filetype off
-set rtp+=~/.vim/bundle/Vundle.vim
-call vundle#begin()
+set rtp+=$XDG_CONFIG_HOME/nvim/bundle/Vundle.vim
+call vundle#begin($XDG_CONFIG_HOME . '/nvim/bundle/')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
@@ -25,12 +25,7 @@ syntax on
filetype plugin on
" Show trailing spaces
-highlight ExtraWhitespace ctermbg=red guibg=red
-match ExtraWhitespace /\s\+$/
-autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
-autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
-autocmd InsertLeave * match ExtraWhitespace /\s\+$/
-autocmd BufWinLeave * call clearmatches()
+set list lcs=trail:·,tab:»·
" Clear trailing spaces on <F2>
function TrimWhiteSpace()
diff --git a/nvim/nvim/shada/main.shada b/nvim/nvim/shada/main.shada
index 5bd2ed1..bf34b3d 100644
--- a/nvim/nvim/shada/main.shada
+++ b/nvim/nvim/shada/main.shada
Binary files differ