diff options
Diffstat (limited to 'vim/lua/plugins/init.lua')
-rw-r--r-- | vim/lua/plugins/init.lua | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/vim/lua/plugins/init.lua b/vim/lua/plugins/init.lua index f54e21d..c74e8d4 100644 --- a/vim/lua/plugins/init.lua +++ b/vim/lua/plugins/init.lua | |||
@@ -138,6 +138,14 @@ return { | |||
138 | -- end | 138 | -- end |
139 | -- return tostring(os.time()) .. suffix | 139 | -- return tostring(os.time()) .. suffix |
140 | end, | 140 | end, |
141 | -- Optional, for templates (see below). | ||
142 | templates = { | ||
143 | folder = "templates", | ||
144 | date_format = "%Y-%m-%d", | ||
145 | time_format = "%H:%M", | ||
146 | -- A map for custom variables, the key should be the variable and the value a function | ||
147 | substitutions = {}, | ||
148 | }, | ||
141 | }, | 149 | }, |
142 | }, | 150 | }, |
143 | 151 | ||
@@ -209,9 +217,10 @@ return { | |||
209 | opts = { | 217 | opts = { |
210 | automatically_installation = true, | 218 | automatically_installation = true, |
211 | ensure_installed = { | 219 | ensure_installed = { |
220 | "vim-language-server", | ||
221 | "lua-language-server", | ||
212 | "css-lsp", | 222 | "css-lsp", |
213 | "html-lsp", | 223 | "html-lsp", |
214 | "lua-language-server", | ||
215 | "prettier", | 224 | "prettier", |
216 | "stylua", | 225 | "stylua", |
217 | }, | 226 | }, |