nvim: Add SyntaxAttr plugin to help show highlight group under cursor
This commit is contained in:
parent
41f1e85929
commit
30011d5c9d
2 changed files with 3 additions and 0 deletions
|
@ -110,3 +110,5 @@ remap('n', '<BS>', '<C-^>', { noremap = true })
|
|||
-- Use Tab & S-Tab instead of C-g and C-t for incsearch
|
||||
remap('c', '<Tab>', 'getcmdtype() =~ \'[?/]\' ? \'<C-g>\' : feedkeys(\'<Tab>\', \'int\')[1]', { noremap = true, expr = true })
|
||||
remap('c', '<S-Tab>', 'getcmdtype() =~ \'[?/]\' ? \'<C-t>\' : feedkeys(\'<S-Tab>\', \'int\')[1]', { noremap = true, expr = true })
|
||||
|
||||
remap('n', '<F1>', ':call SyntaxAttr#SyntaxAttr()<CR>', { noremap = true })
|
||||
|
|
|
@ -149,6 +149,7 @@ local init = function ()
|
|||
use 'LnL7/vim-nix'
|
||||
-- Other syntax highlighting support
|
||||
use 'georgewitteman/vim-fish'
|
||||
use 'inkarkat/SyntaxAttr.vim'
|
||||
-- For statusline
|
||||
use {
|
||||
'glepnir/galaxyline.nvim',
|
||||
|
|
Loading…
Reference in a new issue