29092024
This commit is contained in:
parent
9de3a488a7
commit
dff4d40b46
9 changed files with 79 additions and 104 deletions
|
@ -1,19 +1,3 @@
|
|||
-- local helpers = require("core.helpers")
|
||||
-- auto-format on save
|
||||
-- local lsp_fmt_group = vim.api.nvim_create_augroup("LspFormattingGroup", {})
|
||||
-- vim.api.nvim_create_autocmd("BufWritePre", {
|
||||
-- group = lsp_fmt_group,
|
||||
-- callback = function()
|
||||
-- local efm = vim.lsp.get_clients({ name = "efm" })
|
||||
--
|
||||
-- if vim.tbl_isempty(efm) then
|
||||
-- return
|
||||
-- end
|
||||
--
|
||||
-- vim.lsp.buf.format({ name = "efm", async = true })
|
||||
-- end,
|
||||
-- })
|
||||
|
||||
-- highlight on yank
|
||||
local highlight_yank_group = vim.api.nvim_create_augroup("HighlightYankGroup", {})
|
||||
vim.api.nvim_create_autocmd("TextYankPost", {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue