Better projects

This commit is contained in:
Chris
2026-07-11 13:16:12 +01:00
parent f9f6aea868
commit 29f4436aa8
7 changed files with 51 additions and 3 deletions
+1 -1
View File
@@ -428,7 +428,7 @@ end, { desc = 'Luasnip accept copilot or jump forward' })
-- directory if the file does not exist
vim.keymap.set('n', '<Leader>es', function()
local ft = vim.bo.filetype
if ft == 'vue' then
if ft == 'vue' or ft == 'typescript' then
ft = 'javascript'
end
local snippets_dir = vim.fn.stdpath 'config' .. '/lua/snippets'