Browse Source

fix: update path to intelephense licence key

master
Tovi Jaeschke-Rogers 6 months ago
parent
commit
136e964ce6
3 changed files with 18 additions and 18 deletions
  1. +1
    -0
      .config/aliasrc
  2. +16
    -17
      .config/nvim/lua/tovi/plugins/harpoon.lua
  3. +1
    -1
      .config/nvim/lua/tovi/plugins/lsp/lspconfig.lua

+ 1
- 0
.config/aliasrc View File

@ -61,5 +61,6 @@ if [[ $(uname) == 'Darwin' ]]; then
v="pbpaste"
fi
alias jack-artisan="dce app-fpm ./artisan"
alias jack-paratest="dce app-fpm ./test"
alias jack-phpunit="dce app-fpm ./vendor/bin/phpunit"

+ 16
- 17
.config/nvim/lua/tovi/plugins/harpoon.lua View File

@ -11,8 +11,7 @@ return {
harpoon:setup()
-- REQUIRED
-- set keymaps
local keymap = vim.keymap -- for conciseness
local keymap = vim.keymap
keymap.set("n", "<leader>a", function ()
harpoon:list():add()
@ -22,20 +21,20 @@ return {
harpoon.ui:toggle_quick_menu(harpoon:list())
end, { desc = "Toggle quick menu for harpoon" })
keymap.set("n", "<C-x>", function()
harpoon:list():select(1)
end, { desc = "Go to first harpoon file" })
keymap.set("n", "<C-c>", function()
harpoon:list():select(2)
end, { desc = "Go to second harpoon file" })
keymap.set("n", "<C-v>", function()
harpoon:list():select(3)
end, { desc = "Go to third harpoon file" })
keymap.set("n", "<C-b>", function()
harpoon:list():select(4)
end, { desc = "Go to fourth harpoon file" })
-- keymap.set("n", "<C-x>", function()
-- harpoon:list():select(1)
-- end, { desc = "Go to first harpoon file" })
--
-- keymap.set("n", "<C-c>", function()
-- harpoon:list():select(2)
-- end, { desc = "Go to second harpoon file" })
--
-- keymap.set("n", "<C-v>", function()
-- harpoon:list():select(3)
-- end, { desc = "Go to third harpoon file" })
--
-- keymap.set("n", "<C-b>", function()
-- harpoon:list():select(4)
-- end, { desc = "Go to fourth harpoon file" })
end,
}

+ 1
- 1
.config/nvim/lua/tovi/plugins/lsp/lspconfig.lua View File

@ -154,7 +154,7 @@ return {
capabilities = capabilities,
on_attach = on_attach,
init_options = {
licenceKey = "/home/tovi/.local/share/nvim/intelephense-licence.txt"
licenceKey = vim.fn.expand('$HOME/.local/share/nvim/intelephense-licence.txt')
},
settings = {
}


Loading…
Cancel
Save