Nvim: new plugins added: blamer, indent-blankline, hlslens
This commit is contained in:
27
.config/nvim/after/plugin/indent.rc.vim
Normal file
27
.config/nvim/after/plugin/indent.rc.vim
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
lua << EOF
|
||||||
|
--vim.opt.termguicolors = true
|
||||||
|
vim.cmd [[highlight IndentBlanklineIndent1 guifg=#E06C75 gui=nocombine]]
|
||||||
|
vim.cmd [[highlight IndentBlanklineIndent2 guifg=#E5C07B gui=nocombine]]
|
||||||
|
vim.cmd [[highlight IndentBlanklineIndent3 guifg=#98C379 gui=nocombine]]
|
||||||
|
vim.cmd [[highlight IndentBlanklineIndent4 guifg=#56B6C2 gui=nocombine]]
|
||||||
|
vim.cmd [[highlight IndentBlanklineIndent5 guifg=#61AFEF gui=nocombine]]
|
||||||
|
vim.cmd [[highlight IndentBlanklineIndent6 guifg=#C678DD gui=nocombine]]
|
||||||
|
|
||||||
|
--vim.opt.list = true
|
||||||
|
--vim.opt.listchars:append("space:⋅")
|
||||||
|
--vim.opt.listchars:append("eol:↴")
|
||||||
|
|
||||||
|
require("indent_blankline").setup {
|
||||||
|
show_current_context = true,
|
||||||
|
show_current_context_start = true,
|
||||||
|
--space_char_blankline = " ",
|
||||||
|
char_highlight_list = {
|
||||||
|
"IndentBlanklineIndent1",
|
||||||
|
"IndentBlanklineIndent2",
|
||||||
|
"IndentBlanklineIndent3",
|
||||||
|
"IndentBlanklineIndent4",
|
||||||
|
"IndentBlanklineIndent5",
|
||||||
|
"IndentBlanklineIndent6",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
EOF
|
||||||
@@ -21,6 +21,7 @@ Plug 'puremourning/vimspector'
|
|||||||
Plug 'derekwyatt/vim-fswitch'
|
Plug 'derekwyatt/vim-fswitch'
|
||||||
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
||||||
Plug 'vim-test/vim-test'
|
Plug 'vim-test/vim-test'
|
||||||
|
Plug 'lukas-reineke/indent-blankline.nvim'
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Completion {{{
|
" Completion {{{
|
||||||
@@ -43,11 +44,13 @@ Plug 'liuchengxu/vista.vim'
|
|||||||
Plug 'inside/vim-search-pulse'
|
Plug 'inside/vim-search-pulse'
|
||||||
Plug 'wellle/targets.vim'
|
Plug 'wellle/targets.vim'
|
||||||
Plug 'voldikss/vim-floaterm'
|
Plug 'voldikss/vim-floaterm'
|
||||||
|
Plug 'kevinhwang91/nvim-hlslens'
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Git integration {{{
|
" Git integration {{{
|
||||||
Plug 'tpope/vim-fugitive'
|
Plug 'tpope/vim-fugitive'
|
||||||
Plug 'mhinz/vim-signify' " Mark edited lines - faster gitgutter
|
Plug 'mhinz/vim-signify' " Mark edited lines - faster gitgutter
|
||||||
|
Plug 'APZelos/blamer.nvim'
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Support for random filetypes {{{
|
" Support for random filetypes {{{
|
||||||
@@ -64,6 +67,7 @@ Plug 'chrisbra/csv.vim'
|
|||||||
" Other plugins (external tools, etc) {{{
|
" Other plugins (external tools, etc) {{{
|
||||||
Plug 'MortenStabenau/matlab-vim'
|
Plug 'MortenStabenau/matlab-vim'
|
||||||
Plug 'junegunn/goyo.vim'
|
Plug 'junegunn/goyo.vim'
|
||||||
|
Plug 'lukas-reineke/virt-column.nvim'
|
||||||
Plug 'jez/vim-superman' "vman application
|
Plug 'jez/vim-superman' "vman application
|
||||||
Plug 'glacambre/firenvim'
|
Plug 'glacambre/firenvim'
|
||||||
Plug 'JMcKiern/vim-shoot'
|
Plug 'JMcKiern/vim-shoot'
|
||||||
@@ -125,7 +129,6 @@ set inccommand="split"
|
|||||||
nnoremap <Home> zc
|
nnoremap <Home> zc
|
||||||
nnoremap <End> zo
|
nnoremap <End> zo
|
||||||
|
|
||||||
" TODO define cache dir and conf dir, use them everywhere
|
|
||||||
" Ctags {{{
|
" Ctags {{{
|
||||||
if isdirectory($HOME . '/.cache/nvim/tags') == 0
|
if isdirectory($HOME . '/.cache/nvim/tags') == 0
|
||||||
:silent !mkdir -p ~/.cache/nvim/tags > /dev/null 2>&1
|
:silent !mkdir -p ~/.cache/nvim/tags > /dev/null 2>&1
|
||||||
@@ -192,4 +195,11 @@ setglobal shiftround
|
|||||||
let g:vimwiki_list = [{'path': '~/vimwiki/',
|
let g:vimwiki_list = [{'path': '~/vimwiki/',
|
||||||
\ 'syntax': 'markdown', 'ext': '.md'}]
|
\ 'syntax': 'markdown', 'ext': '.md'}]
|
||||||
|
|
||||||
|
let g:blamer_enabled = 1
|
||||||
|
let g:blamer_show_in_insert_modes = 0
|
||||||
|
let g:blamer_template = '<committer> <committer-time> <summary>'
|
||||||
|
let g:blamer_date_format = '%Y-%m-%d'
|
||||||
|
let g:blamer_relative_time = 0
|
||||||
|
"highlight Blamer guifg=lightgrey
|
||||||
|
|
||||||
packadd termdebug
|
packadd termdebug
|
||||||
|
|||||||
Reference in New Issue
Block a user