fzf->telescope

This commit is contained in:
Grigory Shipunov 2023-03-16 14:41:42 +01:00
parent cae6b5663d
commit a26529aa7b
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
3 changed files with 59 additions and 3 deletions

View file

@ -47,6 +47,19 @@ local lsp_flags = {
-- always show sign column
vim.cmd([[set signcolumn=yes]])
vim.g.moonflyNormalFloat = true
vim.lsp.handlers['textDocument/hover'] = vim.lsp.with(
vim.lsp.handlers.hover, {
border = "single"
}
)
vim.lsp.handlers['textDocument/signatureHelp'] = vim.lsp.with(
vim.lsp.handlers.signatureHelp, {
border = "single"
}
)
vim.diagnostic.config({ float = { border = "single" } })
-- Setting up servers per language
-- Default nvim-lsp setup: nil, clangd
local servers = { 'nil_ls', 'clangd' }
@ -66,5 +79,12 @@ rt.setup({
on_attach = on_attach,
flags = lsp_flags,
capabilities = capabilities,
settings = {
["rust-analyzer"] = {
cargo = {
allFeatures = true,
},
},
},
},
})