Skip to content

Commit 794f9f0

Browse files
committed
fix(vim): improve neovim compatibility
Ever since switching to neovim, I have been seeing some error messages on startup. Some mention the monokai theme I was using. Switching to a neovim monokai theme in homes of fixing that. I would prefer the classic monokai theme, but enabling that might require switching to lua config, which I don't know yet.
1 parent ebe771e commit 794f9f0

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

vim/.vimrc

+2-8
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,6 @@ set textwidth=80
9595
" Set the directory of the current file as path
9696
autocmd BufEnter * lcd %:p:h
9797

98-
" Change misc directories
99-
set backupdir=~/.vim/backups
100-
set directory=~/.vim/swaps
101-
set undodir=~/.vim/undo
102-
set viminfo+=n~/.vim/.viminfo
103-
10498
" Show the filename in the window titlebar
10599
set title
106100

@@ -175,7 +169,7 @@ endif
175169
call plug#begin('~/.vim/plugged')
176170

177171
" Theme
178-
Plug 'crusoexia/vim-monokai'
172+
Plug 'loctvl842/monokai-pro.nvim'
179173

180174
" Javascript syntax
181175
Plug 'pangloss/vim-javascript'
@@ -222,7 +216,7 @@ call plug#end()
222216

223217
" Set theme
224218
syntax on
225-
colorscheme monokai
219+
colorscheme monokai-pro
226220

227221
" Increase color contrast for comments (make them green)
228222
hi Comment ctermfg=34

0 commit comments

Comments
 (0)