commit f5ea49a56b58174ae78a15f87827f83e3a6902f7
parent 914fc368b0032f512cc05fd30946702e68e32f2b
Author: Tomas Nemec <owl@gtms.dev>
Date: Tue, 28 Nov 2023 10:16:54 +0100
update
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/after/plugin/ng_html.lua b/after/plugin/ng_html.lua
@@ -25,6 +25,7 @@ local function prettier_html(text)
command = 'prettier',
args = {
'--plugin=/home/tms/.local/share/npm/lib/node_modules/prettier-plugin-organize-attributes/lib/index.js',
+ '--tab-width=4',
'--parser=html',
},
writer = { result },
diff --git a/filetype.lua b/filetype.lua
@@ -1 +1 @@
-vim.filetype.add { extension = { latte = 'html' } }
+vim.filetype.add { extension = { latte = 'html', gs = 'javascript' } }