diff --git a/lazy-lock.json b/lazy-lock.json index 3d0d5e9..4e9ff07 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -35,7 +35,7 @@ "nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" }, "nvim-colorizer.lua": { "branch": "master", "commit": "81e676d3203c9eb6e4c0ccf1eba1679296ef923f" }, "nvim-coverage": { "branch": "main", "commit": "a939e425e363319d952a6c35fb3f38b34041ded2" }, - "nvim-dap": { "branch": "master", "commit": "cdfd55a133f63228c55f91378f12908cb2a78ded" }, + "nvim-dap": { "branch": "master", "commit": "085386b9359ddf8d76ad89b98973b8e332dc5ba3" }, "nvim-dap-go": { "branch": "main", "commit": "b4421153ead5d726603b02743ea40cf26a51ed5f" }, "nvim-dap-ui": { "branch": "master", "commit": "cf91d5e2d07c72903d052f5207511bf7ecdb7122" }, "nvim-dap-virtual-text": { "branch": "master", "commit": "fbdb48c2ed45f4a8293d0d483f7730d24467ccb6" }, @@ -45,7 +45,7 @@ "nvim-remote-containers": { "branch": "master", "commit": "73c2cbc59b69b4026682aea6bab225831fb8eaa4" }, "nvim-treesitter": { "branch": "main", "commit": "e75c007f2747050c2c620dc862c77b8f242551a8" }, "nvim-treesitter-textobjects": { "branch": "main", "commit": "4d55f63252e04c5212daed958e4e940915ff16ce" }, - "nvim-ts-autotag": { "branch": "main", "commit": "c4ca798ab95b316a768d51eaaaee48f64a4a46bc" }, + "nvim-ts-autotag": { "branch": "main", "commit": "db15f2e0df2f5db916e511e3fffb682ef2f6354f" }, "nvim-web-devicons": { "branch": "master", "commit": "803353450c374192393f5387b6a0176d0972b848" }, "overseer.nvim": { "branch": "master", "commit": "5828bdbd86677497613033c142f0a8624489216f" }, "persistence.nvim": { "branch": "main", "commit": "b20b2a7887bd39c1a356980b45e03250f3dce49c" }, diff --git a/lua/plugins/dap.lua b/lua/plugins/dap.lua index e682163..9ca5bb4 100644 --- a/lua/plugins/dap.lua +++ b/lua/plugins/dap.lua @@ -139,9 +139,9 @@ return { "jay-babu/mason-nvim-dap.nvim", opts = { ensure_installed = { - "go", "python", - "node2", + "delve", + "js" }, }, }, diff --git a/lua/plugins/lsp-roots.lua b/lua/plugins/lsp-roots.lua deleted file mode 100644 index 4986318..0000000 --- a/lua/plugins/lsp-roots.lua +++ /dev/null @@ -1,40 +0,0 @@ -return { - { - "neovim/nvim-lspconfig", - opts = { - servers = { - tsserver = { - root_dir = function(fname) - return require("lspconfig.util").root_pattern( - "pnpm-workspace.yaml", - "nx.json", - "turbo.json", - "package.json", - ".git" - )(fname) - end, - }, - - gopls = { - root_dir = function(fname) - return require("lspconfig.util").root_pattern( - "go.work", - "go.mod", - ".git" - )(fname) - end, - }, - - pyright = { - root_dir = function(fname) - return require("lspconfig.util").root_pattern( - "pyproject.toml", - "setup.py", - ".git" - )(fname) - end, - }, - }, - }, - }, -} diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index 79aeefb..6aa014c 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -26,6 +26,7 @@ return { "gopls", -- Go "lua-language-server", -- Lua "typescript-language-server", -- TypeScript/JavaScript + "js-debug-adapter", -- JS "html-lsp", -- HTML "css-lsp", -- CSS "json-lsp", -- JSON