better actions and filer

This commit is contained in:
Barak Michener 2021-08-03 13:36:55 -07:00
parent 8aeae726ed
commit 97abb8d8b6
2 changed files with 106 additions and 4 deletions

View file

@ -40,6 +40,26 @@ require'compe'.setup {
};
}
signature_cfg = {
hint_enable = true,
hint_prefix = "% ",
handler_opts = {
border = "none"
},
}
require'lsp_signature'.on_attach(signature_cfg)
saga_cfg = {
code_action_prompt = {
enable = false,
sign = false,
virtual_text = false,
},
}
require'lspsaga'.init_lsp_saga(saga_cfg)
local t = function(str)
return vim.api.nvim_replace_termcodes(str, true, true, true)
end