update
This commit is contained in:
parent
d5927286ab
commit
be12cae2f9
@ -42,7 +42,7 @@ return {
|
|||||||
config = function()
|
config = function()
|
||||||
require 'lspconfig'.lua_ls.setup(require('lsp.lua'))
|
require 'lspconfig'.lua_ls.setup(require('lsp.lua'))
|
||||||
require 'lspconfig'.clangd.setup(require('lsp.c'))
|
require 'lspconfig'.clangd.setup(require('lsp.c'))
|
||||||
require'lspconfig'.bash_ls.setup(require('lsp.bash'))
|
-- require'lspconfig'.bash_ls.setup(require('lsp.bash'))
|
||||||
require 'lspconfig'.pyright.setup(require('lsp.pyright'))
|
require 'lspconfig'.pyright.setup(require('lsp.pyright'))
|
||||||
G.map({
|
G.map({
|
||||||
{ 'n', '<leader>rn', '<cmd>lua vim.lsp.buf.rename()<CR>' },
|
{ 'n', '<leader>rn', '<cmd>lua vim.lsp.buf.rename()<CR>' },
|
||||||
@ -52,10 +52,9 @@ return {
|
|||||||
{ 'n', 'gD', '<cmd>lua vim.lsp.buf.declaration()<CR>' },
|
{ 'n', 'gD', '<cmd>lua vim.lsp.buf.declaration()<CR>' },
|
||||||
{ 'n', 'gi', '<cmd>lua vim.lsp.buf.implementation()<CR>' },
|
{ 'n', 'gi', '<cmd>lua vim.lsp.buf.implementation()<CR>' },
|
||||||
{ 'n', 'gr', '<cmd>lua vim.lsp.buf.references()<CR>' },
|
{ 'n', 'gr', '<cmd>lua vim.lsp.buf.references()<CR>' },
|
||||||
{'n', '<c-s-i>', '<cmd>lua vim.lsp.buf.formatting()<CR>'},
|
{ 'n', '<c-I>', '<cmd>lua vim.lsp.buf.format()<CR>' },
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
},
|
},
|
||||||
@ -130,7 +129,8 @@ return {
|
|||||||
TypeParameter = { icon = "𝙏", hl = "@parameter" },
|
TypeParameter = { icon = "𝙏", hl = "@parameter" },
|
||||||
Component = { icon = "", hl = "@function" },
|
Component = { icon = "", hl = "@function" },
|
||||||
Fragment = { icon = "", hl = "@constant" },
|
Fragment = { icon = "", hl = "@constant" },
|
||||||
},}
|
},
|
||||||
|
}
|
||||||
require("symbols-outline").setup(opts)
|
require("symbols-outline").setup(opts)
|
||||||
G.map({
|
G.map({
|
||||||
{ "n", "<leader>o", ":SymbolsOutline<cr>" },
|
{ "n", "<leader>o", ":SymbolsOutline<cr>" },
|
||||||
@ -249,4 +249,3 @@ return {
|
|||||||
""
|
""
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user