cleanup
This commit is contained in:
parent
4582fd0c9a
commit
ee05d192bc
@ -35,7 +35,6 @@
|
||||
"kanagawa.nvim": { "branch": "master", "commit": "c19b9023842697ec92caf72cd3599f7dd7be4456" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "28126922c9b54e35a192ac415788f202c3944c9f" },
|
||||
"lazygit.nvim": { "branch": "main", "commit": "1e08e3f5ac1152339690140e61a4a32b3bdc7de5" },
|
||||
"lsp-virtual-improved.nvim": { "branch": "master", "commit": "db9cd544b7febdf4c48374e351b3903143b4477d" },
|
||||
"lspkind-nvim": { "branch": "master", "commit": "1735dd5a5054c1fb7feaf8e8658dbab925f4f0cf" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "7d131a8d3ba5016229e8a1d08bf8782acea98852" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "56e435e09f8729af2d41973e81a0db440f8fe9c9" },
|
||||
|
@ -1,10 +0,0 @@
|
||||
return {
|
||||
'dgagn/diagflow.nvim',
|
||||
opts = {
|
||||
scope = 'line',
|
||||
placement = 'inline',
|
||||
text_align = 'left',
|
||||
inline_padding_left = 5,
|
||||
},
|
||||
enabled = false
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
return {
|
||||
'luozhiya/lsp-virtual-improved.nvim',
|
||||
event = { 'LspAttach' },
|
||||
config = function()
|
||||
require('lsp-virtual-improved').setup()
|
||||
local diagnostics = {
|
||||
virtual_text = false, -- Disable builtin virtual text diagnostic.
|
||||
virtual_improved = {
|
||||
current_line = 'only',
|
||||
},
|
||||
}
|
||||
vim.diagnostic.config(diagnostics)
|
||||
end,
|
||||
enabled = false
|
||||
}
|
@ -2,15 +2,12 @@ return {
|
||||
'mrcjkb/rustaceanvim',
|
||||
ft = { 'rust' },
|
||||
config = function()
|
||||
-- local capabilities = require('cmp_nvim_lsp').default_capabilities()
|
||||
vim.g.rustaceanvim = {
|
||||
server = {
|
||||
-- capabilities = capabilities,
|
||||
on_attach = function(client, bufnr)
|
||||
local options = { noremap = true, silent = false, buffer = bufnr }
|
||||
vim.keymap.set('n', '<space>y', function() vim.cmd.RustLsp { 'hover', 'actions' } end,
|
||||
vim.tbl_extend('error', options, { desc = 'Hover' }))
|
||||
-- require('plugins.lspconfig').lspKeys(client, bufnr)
|
||||
|
||||
local group = vim.api.nvim_create_augroup('lsp_document_highlight', { clear = false })
|
||||
vim.api.nvim_create_autocmd({ 'CursorHold', 'CursorHoldI' }, {
|
||||
|
Loading…
x
Reference in New Issue
Block a user