From 3526eb6d756e3c37190814eca2e22ce9f7d9f1de Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Fri, 28 Jun 2024 01:24:13 +0800 Subject: Update --- vim/lua/plugins/init.lua | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'vim/lua/plugins/init.lua') 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 { -- end -- return tostring(os.time()) .. suffix end, + -- Optional, for templates (see below). + templates = { + folder = "templates", + date_format = "%Y-%m-%d", + time_format = "%H:%M", + -- A map for custom variables, the key should be the variable and the value a function + substitutions = {}, + }, }, }, @@ -209,9 +217,10 @@ return { opts = { automatically_installation = true, ensure_installed = { + "vim-language-server", + "lua-language-server", "css-lsp", "html-lsp", - "lua-language-server", "prettier", "stylua", }, -- cgit v1.2.3-70-g09d2