Skip to content

Commit

Permalink
feat: polyglot disable groovy && update nerdtree git status indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
lycheng committed Sep 15, 2020
1 parent b853078 commit 5003f79
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions vimrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
" polyglot
let g:polyglot_disabled = ['groovy']

source ~/.vim/plugins.vim

" encoding dectection
Expand Down Expand Up @@ -83,9 +86,6 @@ autocmd FileType python setlocal tabstop=4 shiftwidth=4 softtabstop=4 textwidth=
" makefile tab problem
autocmd FileType make setlocal noexpandtab

" groovy highlight for Jenkinsfile
au BufNewFile,BufRead Jenkinsfile setf groovy

" Neovim
let g:python_host_prog = '/usr/bin/python'
let g:python3_host_prog = '/usr/bin/python3'
Expand Down Expand Up @@ -142,14 +142,14 @@ let NERDTreeDirArrows = 1
let NERDTreeAutoDeleteBuffer = 1

let g:NERDTreeGitStatusIndicatorMapCustom = {
\ "Modified" : "",
\ "Staged" : "",
\ "Untracked" : "",
\ "Renamed" : "",
\ "Unmerged" : "",
\ "Deleted" : "",
\ "Dirty" : "",
\ "Clean" : "✔︎",
\ "Modified" : "*",
\ "Staged" : "+",
\ "Untracked" : "*",
\ "Renamed" : ">",
\ "Unmerged" : "=",
\ "Deleted" : "x",
\ "Dirty" : "x",
\ "Clean" : "v",
\ "Unknown" : "?"
\ }

Expand Down

0 comments on commit 5003f79

Please sign in to comment.