Skip to content

Commit

Permalink
nvim: Switch to coc-git
Browse files Browse the repository at this point in the history
  • Loading branch information
foxtrot committed Jul 7, 2021
1 parent 4611534 commit 61ff50c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 17 deletions.
12 changes: 10 additions & 2 deletions .config/nvim/coc-settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,22 @@
"diagnostic.messageTarget": "float",
"git.realtimeGutters": true,
"git.enableGutters": true,
"git.addedSign.text": "+",
"git.addedSign.text": "",
"git.changedSign.text": "",
"git.removedSign.text": "-",
"git.topRemovedSign.text": "-",
"python.linting.pylintEnabled": false,
"python.linting.pep8Enabled": true,
"python.linting.enabled": true,
"coc.preferences.formatOnSaveFiletypes": [
"go",
"json",
"sh"
"sh",
"ts",
"c",
"cpp",
"h",
"html"
],
"suggest.snippetIndicator": "",
"html.autoClosingTags": false
Expand Down
16 changes: 1 addition & 15 deletions .config/nvim/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ Plug 'othree/html5.vim'
Plug 'preservim/nerdtree'
Plug 'jistr/vim-nerdtree-tabs'

"" Git Gutter
Plug 'airblade/vim-gitgutter'

"" Indent Guide
Plug 'Yggdroot/indentLine'

Expand Down Expand Up @@ -52,18 +49,6 @@ autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree")
" Bind CTRL+/ to Toggle Tree
nmap <C-_> :NERDTreeTabsToggle<CR>
"""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Git Gutter
"""""""""""""""""""""""""""""""""""""""""""""""""""""""
let g:gitgutter_sign_added = ''
let g:gitgutter_sign_modified = ''
let g:gitgutter_sign_removed = '-'
let g:gitgutter_sign_removed_first_line = '-'
let g:gitgutter_sign_modified_removed = '-'
let g:gitgutter_set_sign_backgrounds = 1
au VimEnter * GitGutterEnable
set signcolumn=auto

"""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Indentation Guide
"""""""""""""""""""""""""""""""""""""""""""""""""""""""
Expand Down Expand Up @@ -112,6 +97,7 @@ set t_Co=256
let &t_SI = "\<Esc>[6 q"
let &t_rR = "\<Esc>[4 q"
let &t_EI = "\<Esc>[2 q"
set signcolumn=auto

"""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Code Completion and Linting
Expand Down

0 comments on commit 61ff50c

Please sign in to comment.