Nvim: Configure plugins in after directory
Switch from fzf to telescope and filesystem to defx
This commit is contained in:
45
.config/nvim/after/plugin/lspsaga.rc.vim
Normal file
45
.config/nvim/after/plugin/lspsaga.rc.vim
Normal file
@@ -0,0 +1,45 @@
|
||||
lua << EOF
|
||||
local saga = require 'lspsaga'
|
||||
|
||||
-- add your config value here
|
||||
-- default value
|
||||
-- use_saga_diagnostic_sign = true
|
||||
-- error_sign = '',
|
||||
-- warn_sign = '',
|
||||
-- hint_sign = '',
|
||||
-- infor_sign = '',
|
||||
-- dianostic_header_icon = ' ',
|
||||
-- code_action_icon = ' ',
|
||||
-- code_action_prompt = {
|
||||
-- enable = true,
|
||||
-- sign = true,
|
||||
-- sign_priority = 20,
|
||||
-- virtual_text = true,
|
||||
-- },
|
||||
-- finder_definition_icon = ' ',
|
||||
-- finder_reference_icon = ' ',
|
||||
-- max_preview_lines = 10, -- preview lines of lsp_finder and definition preview
|
||||
-- finder_action_keys = {
|
||||
-- open = 'o', vsplit = 's',split = 'i',quit = 'q',scroll_down = '<C-f>', scroll_up = '<C-b>' -- quit can be a table
|
||||
-- },
|
||||
-- code_action_keys = {
|
||||
-- quit = 'q',exec = '<CR>'
|
||||
-- },
|
||||
-- rename_action_keys = {
|
||||
-- quit = '<C-c>',exec = '<CR>' -- quit can be a table
|
||||
-- },
|
||||
-- definition_preview_icon = ' '
|
||||
-- "single" "double" "round" "plus"
|
||||
-- border_style = "single"
|
||||
-- rename_prompt_prefix = '➤',
|
||||
-- if you don't use nvim-lspconfig you must pass your server name and
|
||||
-- the related filetypes into this table
|
||||
-- like server_filetype_map = {metals = {'sbt', 'scala'}}
|
||||
-- server_filetype_map = {}
|
||||
|
||||
--saga.init_lsp_saga {
|
||||
-- your custom option here
|
||||
--}
|
||||
saga.init_lsp_saga()
|
||||
|
||||
EOF
|
||||
Reference in New Issue
Block a user