summaryrefslogtreecommitdiffstats
path: root/after/ftplugin/lua.lua
diff options
context:
space:
mode:
Diffstat (limited to 'after/ftplugin/lua.lua')
-rw-r--r--after/ftplugin/lua.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/after/ftplugin/lua.lua b/after/ftplugin/lua.lua
index 756026e..05e4978 100644
--- a/after/ftplugin/lua.lua
+++ b/after/ftplugin/lua.lua
@@ -24,7 +24,7 @@ local function format()
vim.fn.winrestview(view)
end
-vim.opt_local.textwidth = 120 -- gw wraps at this value
+vim.opt_local.textwidth = vim.g.dotfiles.textwidth.lua -- gw wraps at this value
vim.opt_local.colorcolumn = "+1" -- Highlight one column after 'textwidth'
vim.opt_local.complete = {
"o", -- 'omnifunc'