aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha
diff options
context:
space:
mode:
Diffstat (limited to 'lua/alpha')
-rw-r--r--lua/alpha/lsp.lua2
-rw-r--r--lua/alpha/telescope/init.lua4
-rw-r--r--lua/alpha/telescope/mappings.lua1
3 files changed, 6 insertions, 1 deletions
diff --git a/lua/alpha/lsp.lua b/lua/alpha/lsp.lua
index aa06eb3..bd6b449 100644
--- a/lua/alpha/lsp.lua
+++ b/lua/alpha/lsp.lua
@@ -44,7 +44,7 @@ lsp_installer.on_server_ready(function(server)
-- (optional) Customize the options passed to the server
if server.name == "emmet_ls" then
- opts.filetypes = {"html", "css", "blade"}
+ opts.filetypes = {"html", "css", "blade", "typescriptreact"}
end
opts.on_attach = on_attach
diff --git a/lua/alpha/telescope/init.lua b/lua/alpha/telescope/init.lua
index 9092425..3752560 100644
--- a/lua/alpha/telescope/init.lua
+++ b/lua/alpha/telescope/init.lua
@@ -76,6 +76,10 @@ function M.laravel ()
return require("telescope").extensions.laravel.laravel()
end
+function M.worktree ()
+ return require('telescope').extensions.git_worktree.git_worktrees()
+end
+
function M.file_browser ()
local opts
diff --git a/lua/alpha/telescope/mappings.lua b/lua/alpha/telescope/mappings.lua
index 9acf5a6..42381cd 100644
--- a/lua/alpha/telescope/mappings.lua
+++ b/lua/alpha/telescope/mappings.lua
@@ -26,6 +26,7 @@ vim.api.nvim_set_keymap("c", "<c-r><c-r>", "<Plug>(TelescopeFuzzyCommandSearch)"
map_tele("<leader>pp", "project_files")
map_tele("<leader>gc", "branches")
+map_tele("<leader>gt", "worktree")
map_tele("<leader>pw", "grep_word")
map_tele("<leader>ps", "grep_string")
map_tele("<leader>pf", "projectionist")