mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-28 10:18:25 -05:00
neovim: lspsaga highlight groups
This commit is contained in:
parent
7deb0d68f1
commit
418f3b462b
@ -325,6 +325,29 @@ local function highlight_plugins()
|
|||||||
-- trouble.nvim
|
-- trouble.nvim
|
||||||
hi('LspTroubleText', c.blue, '', 'bold', '')
|
hi('LspTroubleText', c.blue, '', 'bold', '')
|
||||||
|
|
||||||
|
-- lspsaga.nvim
|
||||||
|
hi('DiagnosticError', c.grey1, '', '', '')
|
||||||
|
hi('DiagnosticWarning', c.purple, '', '', '')
|
||||||
|
hi('DiagnosticInformation', c.dark_blue, '', '', '')
|
||||||
|
hi('DiagnosticHint', c.blue, '', '', '')
|
||||||
|
hi('DiagnosticTruncateLine', c.fg, '', '', '')
|
||||||
|
hi('LspFloatWinNormal', c.grey2, '', '', '')
|
||||||
|
hi('LspFloatWinBorder', c.blue, '', '', '')
|
||||||
|
hi('LspSagaBorderTitle', c.cyan, '', '', '')
|
||||||
|
hi('LspSagaHoverBorder', c.dark_blue, '', '', '')
|
||||||
|
hi('LspSagaRenameBorder', c.green, '', '', '')
|
||||||
|
hi('LspSagaDefPreviewBorder', c.green, '', '', '')
|
||||||
|
hi('LspSagaCodeActionBorder', c.teal, '', '', '')
|
||||||
|
hi('LspSagaFinderSelection', c.green, '', '', '')
|
||||||
|
hi('LspSagaCodeActionTitle', c.dark_blue, '', '', '')
|
||||||
|
hi('LspSagaCodeActionContent', c.blue, '', '', '')
|
||||||
|
hi('LspSagaSignatureHelpBorder', c.yellow, '', '', '')
|
||||||
|
hi('ReferencesCount', c.blue, '', '', '')
|
||||||
|
hi('DefinitionCount', c.blue, '', '', '')
|
||||||
|
hi('DefinitionIcon', c.teal, '', '', '')
|
||||||
|
hi('ReferencesIcon', c.teal, '', '', '')
|
||||||
|
hi('TargetWord', c.cyan, '', '', '')
|
||||||
|
|
||||||
-- Telescope
|
-- Telescope
|
||||||
hi('TelescopePromptBorder', c.cyan, '', 'bold', '')
|
hi('TelescopePromptBorder', c.cyan, '', 'bold', '')
|
||||||
hi('TelescopeResultsBorder', c.blue, '', 'bold', '')
|
hi('TelescopeResultsBorder', c.blue, '', 'bold', '')
|
||||||
|
@ -53,14 +53,14 @@ function M.load_autocmds()
|
|||||||
{"BufEnter,BufWinEnter,WinEnter,CmdwinEnter", "*", [[if bufname('%') == "NvimTree" | set laststatus=0 | else | set laststatus=2 | endif]]}
|
{"BufEnter,BufWinEnter,WinEnter,CmdwinEnter", "*", [[if bufname('%') == "NvimTree" | set laststatus=0 | else | set laststatus=2 | endif]]}
|
||||||
},
|
},
|
||||||
|
|
||||||
-- wins = {
|
wins = {
|
||||||
-- -- Equalize window dimensions when resizing vim window
|
-- Equalize window dimensions when resizing vim window
|
||||||
-- {"VimResized", "*", [[tabdo wincmd =]]},
|
{"VimResized", "*", [[tabdo wincmd =]]},
|
||||||
-- -- Force writing shada on leaving nvim
|
-- Force writing shada on leaving nvim
|
||||||
-- {"VimLeave", "*", [[if has('nvim') | wshada! | else | wviminfo! | endif]]},
|
{"VimLeave", "*", [[if has('nvim') | wshada! | else | wviminfo! | endif]]},
|
||||||
-- -- Check if file changed when its window is focus, more eager than 'autoread'
|
-- Check if file changed when its window is focus, more eager than 'autoread'
|
||||||
-- {"FocusGained", "* checktime"}
|
{"FocusGained", "* checktime"}
|
||||||
-- },
|
},
|
||||||
|
|
||||||
ft = {
|
ft = {
|
||||||
{"FileType", "dashboard", "set showtabline=0 | autocmd WinLeave <buffer> set showtabline=2"},
|
{"FileType", "dashboard", "set showtabline=0 | autocmd WinLeave <buffer> set showtabline=2"},
|
||||||
|
@ -119,7 +119,7 @@ return require('packer').startup(
|
|||||||
'romgrk/nvim-treesitter-context',
|
'romgrk/nvim-treesitter-context',
|
||||||
after = 'nvim-treesitter'
|
after = 'nvim-treesitter'
|
||||||
}
|
}
|
||||||
use { -- TODO: define whichkey
|
use {
|
||||||
'nvim-treesitter/nvim-treesitter-textobjects',
|
'nvim-treesitter/nvim-treesitter-textobjects',
|
||||||
after = 'nvim-treesitter',
|
after = 'nvim-treesitter',
|
||||||
config = function()
|
config = function()
|
||||||
@ -151,7 +151,7 @@ return require('packer').startup(
|
|||||||
'ray-x/lsp_signature.nvim',
|
'ray-x/lsp_signature.nvim',
|
||||||
after = 'nvim-lspconfig'
|
after = 'nvim-lspconfig'
|
||||||
}
|
}
|
||||||
use { -- TODO: colors + config
|
use {
|
||||||
'glepnir/lspsaga.nvim',
|
'glepnir/lspsaga.nvim',
|
||||||
after = 'nvim-lspconfig'
|
after = 'nvim-lspconfig'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user