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
|
||||
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
|
||||
hi('TelescopePromptBorder', c.cyan, '', '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]]}
|
||||
},
|
||||
|
||||
-- wins = {
|
||||
-- -- Equalize window dimensions when resizing vim window
|
||||
-- {"VimResized", "*", [[tabdo wincmd =]]},
|
||||
-- -- Force writing shada on leaving nvim
|
||||
-- {"VimLeave", "*", [[if has('nvim') | wshada! | else | wviminfo! | endif]]},
|
||||
-- -- Check if file changed when its window is focus, more eager than 'autoread'
|
||||
-- {"FocusGained", "* checktime"}
|
||||
-- },
|
||||
wins = {
|
||||
-- Equalize window dimensions when resizing vim window
|
||||
{"VimResized", "*", [[tabdo wincmd =]]},
|
||||
-- Force writing shada on leaving nvim
|
||||
{"VimLeave", "*", [[if has('nvim') | wshada! | else | wviminfo! | endif]]},
|
||||
-- Check if file changed when its window is focus, more eager than 'autoread'
|
||||
{"FocusGained", "* checktime"}
|
||||
},
|
||||
|
||||
ft = {
|
||||
{"FileType", "dashboard", "set showtabline=0 | autocmd WinLeave <buffer> set showtabline=2"},
|
||||
|
@ -119,7 +119,7 @@ return require('packer').startup(
|
||||
'romgrk/nvim-treesitter-context',
|
||||
after = 'nvim-treesitter'
|
||||
}
|
||||
use { -- TODO: define whichkey
|
||||
use {
|
||||
'nvim-treesitter/nvim-treesitter-textobjects',
|
||||
after = 'nvim-treesitter',
|
||||
config = function()
|
||||
@ -151,7 +151,7 @@ return require('packer').startup(
|
||||
'ray-x/lsp_signature.nvim',
|
||||
after = 'nvim-lspconfig'
|
||||
}
|
||||
use { -- TODO: colors + config
|
||||
use {
|
||||
'glepnir/lspsaga.nvim',
|
||||
after = 'nvim-lspconfig'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user