aboutsummaryrefslogtreecommitdiff
path: root/lua/user/opts.lua
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2022-10-20 23:58:14 +0200
committersrdusr <trevorgray@srdusr.com>2022-10-20 23:58:14 +0200
commit6cdd3b4b282d79130dc6f2b346cb509ddbb6fa48 (patch)
tree1c08d622e135b669381a0889c54012f70929514d /lua/user/opts.lua
parent97be95d96b96c42dab64dff7018a89baa22384ee (diff)
downloaddotfiles-6cdd3b4b282d79130dc6f2b346cb509ddbb6fa48.tar.gz
dotfiles-6cdd3b4b282d79130dc6f2b346cb509ddbb6fa48.zip
luasnip integration
Diffstat (limited to 'lua/user/opts.lua')
-rw-r--r--lua/user/opts.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/user/opts.lua b/lua/user/opts.lua
index 51b3628..3200cd5 100644
--- a/lua/user/opts.lua
+++ b/lua/user/opts.lua
@@ -53,6 +53,7 @@ vim.opt.ttimeoutlen = 10 --
-- Indent/tab
vim.opt.breakindent = true --
vim.opt.autoindent = true -- Indent according to previous line.
+vim.opt.copyindent = true -- Copy indent from the previous line
vim.opt.smarttab = false --
vim.opt.tabstop = 2 --
vim.opt.expandtab = true -- Indent according to previous line.