diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2025-01-15 02:01:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-15 02:01:44 -0800 |
commit | 3ee63edc1b0ca6fe664c9d5368aba05ae9a22e9d (patch) | |
tree | a696adf2e1449b17d8ff8a44ecf83a90e78d5cea /runtime/lua/editorconfig.lua | |
parent | 0a7e4e9e5f28f3b6b3c83040430d0a36fcd71fad (diff) | |
parent | 575f4bc7d5069792188520d1f0e5ed12cc035002 (diff) | |
download | rneovim-3ee63edc1b0ca6fe664c9d5368aba05ae9a22e9d.tar.gz rneovim-3ee63edc1b0ca6fe664c9d5368aba05ae9a22e9d.tar.bz2 rneovim-3ee63edc1b0ca6fe664c9d5368aba05ae9a22e9d.zip |
Merge #32001 from MariaSolOs/consistent-namespaces
Diffstat (limited to 'runtime/lua/editorconfig.lua')
-rw-r--r-- | runtime/lua/editorconfig.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/lua/editorconfig.lua b/runtime/lua/editorconfig.lua index e65d267a70..2093c4eb5c 100644 --- a/runtime/lua/editorconfig.lua +++ b/runtime/lua/editorconfig.lua @@ -151,7 +151,7 @@ function properties.trim_trailing_whitespace(bufnr, val) ) if val == 'true' then vim.api.nvim_create_autocmd('BufWritePre', { - group = 'editorconfig', + group = 'nvim.editorconfig', buffer = bufnr, callback = function() local view = vim.fn.winsaveview() @@ -163,7 +163,7 @@ function properties.trim_trailing_whitespace(bufnr, val) else vim.api.nvim_clear_autocmds({ event = 'BufWritePre', - group = 'editorconfig', + group = 'nvim.editorconfig', buffer = bufnr, }) end @@ -180,7 +180,7 @@ function properties.insert_final_newline(bufnr, val) local endofline = val == 'true' if vim.bo[bufnr].endofline ~= endofline then vim.api.nvim_create_autocmd('BufWritePre', { - group = 'editorconfig', + group = 'nvim.editorconfig', buffer = bufnr, once = true, callback = function() |