diff options
| author | Kyren223 <ulmliad223@gmail.com> | 2024-07-08 13:42:25 +0300 |
|---|---|---|
| committer | Kyren223 <ulmliad223@gmail.com> | 2024-07-08 13:42:25 +0300 |
| commit | 5bc29f77a48b8e46513c982362a55884e7f65238 (patch) | |
| tree | 111426ddee2e7a30cd974b29bc83f50610f4ced5 /.config/nvim/lua/autocmds.lua | |
| parent | b491f9e3a73367dfd54ca8f8bc74008332c80f34 (diff) | |
Neovim: worked more on completions, and changed a few other things in keymaps and options
Diffstat (limited to '.config/nvim/lua/autocmds.lua')
| -rw-r--r-- | .config/nvim/lua/autocmds.lua | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/.config/nvim/lua/autocmds.lua b/.config/nvim/lua/autocmds.lua index 82f1107..5272029 100644 --- a/.config/nvim/lua/autocmds.lua +++ b/.config/nvim/lua/autocmds.lua @@ -6,12 +6,13 @@ vim.api.nvim_create_autocmd('TextYankPost', { end, }) -vim.api.nvim_create_autocmd('FileType', { - group = vim.api.nvim_create_augroup('disable-auto-comment', { clear = true }), - pattern = '*', - callback = function() - -- c - autowrap using textwidth | r - enter in insert mode | o - o/O in normal mode - -- vim.opt.formatoptions:remove({ 'c', 'r', 'o' }) - vim.cmd('set formatoptions-=co') - end, -}) +-- vim.api.nvim_create_autocmd('FileType', { +-- group = vim.api.nvim_create_augroup('disable-auto-comment', { clear = true }), +-- pattern = '*', +-- callback = function() +-- -- c - autowrap using textwidth | r - enter in insert mode | o - o/O in normal mode +-- -- vim.opt.formatoptions:remove({ 'c', 'r', 'o' }) +-- vim.opt.formatoptions:remove('o') +-- -- vim.cmd('set formatoptions-=o') +-- end, +-- }) |
