This commit is contained in:
Nachuan Tang
2023-03-17 23:12:05 -04:00
parent 24589964e2
commit c67df922a1
2 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -150,7 +150,7 @@
set list " Display unprintable characters f12 - switches
" stop inserting the current comment leader after hitting 'o' or 'O' in Normal mode
au FileType java setlocal formatoptions-=o
au FileType * setlocal formatoptions-=o
set listchars=tab:•\ ,trail:•,extends:»,precedes:« " Unprintable chars mapping
+9 -6
View File
@@ -88,15 +88,14 @@
endif
if g:vim_version >= 0.7
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
Plug 'nvim-treesitter/nvim-treesitter', Cond(!exists('g:vscode') && executable('make'), {'do': ':TSUpdate'})
" for telescope
Plug 'nvim-lua/plenary.nvim', Cond(!exists('g:vscode'))
Plug 'nvim-telescope/telescope.nvim', Cond(!exists('g:vscode'), { 'tag': '0.1.x' })
if executable('make')
" c plugin for telescope to make it faster
Plug 'nvim-telescope/telescope-fzf-native.nvim', Cond(!exists('g:vscode'), { 'do': 'make' })
endif
" c plugin for telescope to make it faster
Plug 'nvim-telescope/telescope-fzf-native.nvim', Cond(!exists('g:vscode') && executable('make'), { 'do': 'make' })
" comment out this plugin if the machine doesn't have required
" font install
@@ -158,7 +157,11 @@ endfunction
" {
if HasPlug('vista.vim')
let g:vista_default_executive = 'coc'
if HasPlug('coc.nvim')
let g:vista_default_executive = 'coc'
elseif HasPlug('coc.nvim')
let g:vista_default_executive = 'ctags'
endif
nnoremap <silent> <leader>v :Vista!!<CR>
let g:vista_cursor_delay = 0
let g:vista_echo_cursor = 0