From 3c4f03c439369bca263dcf410ff75049707ad55a Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Wed, 24 Jul 2024 14:45:21 +0300 Subject: refactor(neovim): moved plugin/ files to lua/custom/config --- .config/nvim/plugin/autocmds.lua | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 .config/nvim/plugin/autocmds.lua (limited to '.config/nvim/plugin/autocmds.lua') 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, -}) -- cgit v1.3.1