diff options
Diffstat (limited to 'init.vim')
-rw-r--r-- | init.vim | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -36,7 +36,9 @@ Plug 'nvim-tree/nvim-tree.lua' Plug 'vim-airline/vim-airline' Plug 'git://git.josher.dev/fieldmarshal.vim.git' -Plug 'git://git.josher.dev/rneovim-userregs.git' +if has('rneovim') + Plug 'git://git.josher.dev/rneovim-userregs.git' +endif Plug 'git@git.josher.dev:config.vim.git', { 'dir': g:plug_home . '/config.vim' } call plug#end() @@ -87,6 +89,18 @@ endif map <leader>nt <cmd>NvimTreeToggle<cr> noremap <leader>nE :<C-u>e <C-r>=expand('%:h')<cr>/ +if has('rneovim') + hi ColorColumn guifg=#3a3a3a guibg=none gui=None + " This is my patched version of neovim. + set fillchars+=colorcol:│ + augroup InitVim + au ColorScheme * hi ColorColumn guifg=#3a3a3a guibg=none gui=None + augroup END +endif + +set colorcolumn=81 +set textwidth=80 + " Opens a terminal in the directory of the current file. command! TERM exec "term sh -c 'cd " . expand('%:p:h') . " && exec $SHELL'" |