dev: automated commit - 2025-10-10 18:39:03
This commit is contained in:
parent
83e317cf99
commit
8846fe8a52
3 changed files with 28 additions and 28 deletions
|
|
@ -46,13 +46,13 @@ return {
|
|||
}
|
||||
|
||||
-- Auto-format on save
|
||||
vim.api.nvim_create_autocmd("BufWritePre", {
|
||||
callback = function()
|
||||
if vim.lsp.buf_is_attached() then
|
||||
vim.lsp.buf.format()
|
||||
end
|
||||
end,
|
||||
})
|
||||
-- vim.api.nvim_create_autocmd("BufWritePre", {
|
||||
-- callback = function()
|
||||
-- if vim.lsp.buf_is_attached() then
|
||||
-- vim.lsp.buf.format()
|
||||
-- end
|
||||
-- end,
|
||||
-- })
|
||||
|
||||
-- Filter out unwanted code actions
|
||||
vim.lsp.buf.code_action = (function(orig)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue