Better projects
This commit is contained in:
+1
-1
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user