From 44a34ed22e6091c5f11f2a88d93d32d289c562fd Mon Sep 17 00:00:00 2001 From: long Date: Fri, 5 Nov 2021 00:47:47 -0500 Subject: [PATCH] added ftplugin folder and html.lua --- ftplugin/html.lua | 2 ++ lua/config.lua | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 ftplugin/html.lua diff --git a/ftplugin/html.lua b/ftplugin/html.lua new file mode 100644 index 0000000..512c9b5 --- /dev/null +++ b/ftplugin/html.lua @@ -0,0 +1,2 @@ +vim.opt.shiftwidth = 2 +vim.opt.tabstop = 2 diff --git a/lua/config.lua b/lua/config.lua index f6620ef..ae9e27d 100644 --- a/lua/config.lua +++ b/lua/config.lua @@ -34,8 +34,8 @@ opt.encoding = "utf-8" opt.fileformat = "unix" opt.scrolloff = 4 -- Lines of context opt.shiftwidth = 4 -opt.synmaxcol = 4000 opt.tabstop = 4 +opt.synmaxcol = 4000 opt.textwidth = 0 --opt.titlestring = "NVIM: %f" opt.titlestring = [[NVIM: [%{fnamemodify(getcwd(), ':t')}] %t]]