diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2024-06-28 01:24:13 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2024-06-28 01:24:13 +0800 |
| commit | 3526eb6d756e3c37190814eca2e22ce9f7d9f1de (patch) | |
| tree | f334c6ef0a4b77c40980eee7a5fdf07899405069 /vim/lua/plugins | |
| parent | e58f70b411ae935fcd32f00d9e3983381fdc0294 (diff) | |
Update
Diffstat (limited to 'vim/lua/plugins')
| -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 | }, |