diff options
Diffstat (limited to '.config/nvim')
| -rw-r--r-- | .config/nvim/after/ftplugin/markdown.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.config/nvim/after/ftplugin/markdown.lua b/.config/nvim/after/ftplugin/markdown.lua index 3f56398..3d04ff0 100644 --- a/.config/nvim/after/ftplugin/markdown.lua +++ b/.config/nvim/after/ftplugin/markdown.lua @@ -1,11 +1,11 @@ Event = 'VeryLazy' -vim.opt.tabstop = 2 -- number of visual spaces per TAB -vim.opt.softtabstop = 2 -- number of idfk tab when editing -vim.opt.shiftwidth = 2 -- number of spaces to insert on tab +vim.opt_local.tabstop = 2 -- number of visual spaces per TAB +vim.opt_local.softtabstop = 2 -- number of idfk tab when editing +vim.opt_local.shiftwidth = 2 -- number of spaces to insert on tab -vim.opt.wrap = true -vim.opt.breakindent = true -vim.opt.linebreak = true +vim.opt_local.wrap = true +vim.opt_local.breakindent = true +vim.opt_local.linebreak = true vim.keymap.set('n', 'j', 'gj') vim.keymap.set('n', 'k', 'gk') |
