summaryrefslogtreecommitdiff
path: root/.config/nvim/plugin/autocmds.lua
diff options
context:
space:
mode:
authorKyren223 <ulmliad223@gmail.com>2024-07-24 14:45:21 +0300
committerKyren223 <ulmliad223@gmail.com>2024-07-24 14:45:21 +0300
commit3c4f03c439369bca263dcf410ff75049707ad55a (patch)
treebc29565dc92aaff69720462d33aaf7fb1023a700 /.config/nvim/plugin/autocmds.lua
parent7206468ebcc414b41427f05bfe90e6e818cf2de6 (diff)
refactor(neovim): moved plugin/ files to lua/custom/config
Diffstat (limited to '.config/nvim/plugin/autocmds.lua')
-rw-r--r--.config/nvim/plugin/autocmds.lua16
1 files changed, 0 insertions, 16 deletions
diff --git a/.config/nvim/plugin/autocmds.lua b/.config/nvim/plugin/autocmds.lua
deleted file mode 100644
index a9a9dc0..0000000
--- a/.config/nvim/plugin/autocmds.lua
+++ /dev/null
@@ -1,16 +0,0 @@
-vim.api.nvim_create_autocmd('TextYankPost', {
- desc = 'Highlight when yanking text',
- group = vim.api.nvim_create_augroup('highlight-yank', { clear = true }),
- callback = function()
- vim.highlight.on_yank()
- end,
-})
-
-vim.api.nvim_create_autocmd('BufEnter', {
- desc = 'Disable newlines on commented lines from continuing the comment',
- group = vim.api.nvim_create_augroup('disable-comments-continuation', { clear = true }),
- callback = function()
- -- vim.opt_local.formatoptions:remove('r') -- no comments on enter
- vim.opt_local.formatoptions:remove('o') -- no comments on `o` or `O`
- end,
-})