[nvim] cleanup: format all files through LSP
This commit is contained in:
parent
0e1e60f532
commit
34dc364d9f
|
@ -95,9 +95,11 @@ vim.keymap.set("n", "<leader>tk",
|
||||||
{ desc = "Search through keymaps" }
|
{ desc = "Search through keymaps" }
|
||||||
)
|
)
|
||||||
vim.keymap.set("n", "<leader>tx",
|
vim.keymap.set("n", "<leader>tx",
|
||||||
function() require("telescope.builtin").diagnostics(
|
function()
|
||||||
|
require("telescope.builtin").diagnostics(
|
||||||
{ buffnr = 0 }
|
{ buffnr = 0 }
|
||||||
) end,
|
)
|
||||||
|
end,
|
||||||
{ desc = "Search through LSP diagnostics" }
|
{ desc = "Search through LSP diagnostics" }
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
M.setup = function(opts) end
|
M.setup = function(opts)
|
||||||
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|
|
@ -24,7 +24,6 @@ return {
|
||||||
"williamboman/mason-lspconfig.nvim",
|
"williamboman/mason-lspconfig.nvim",
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
|
|
||||||
vim.diagnostic.config({
|
vim.diagnostic.config({
|
||||||
underline = true,
|
underline = true,
|
||||||
update_in_insert = false,
|
update_in_insert = false,
|
||||||
|
|
|
@ -15,4 +15,3 @@ M.setup = function(opts)
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
M.setup = function(opts) end
|
M.setup = function(opts)
|
||||||
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|
Reference in New Issue