chore: remove mason and nvim-treesitter-textobjects
This commit is contained in:
+1
-15
@@ -13,10 +13,7 @@ end)
|
||||
|
||||
-- Treesitter ==================================================================
|
||||
Config.now_if_args(function()
|
||||
vim.pack.add({
|
||||
'https://github.com/nvim-treesitter/nvim-treesitter',
|
||||
'https://github.com/nvim-treesitter/nvim-treesitter-textobjects',
|
||||
})
|
||||
vim.pack.add({ 'https://github.com/nvim-treesitter/nvim-treesitter' })
|
||||
|
||||
vim.treesitter.language.register('tsx', { 'typescriptreact' })
|
||||
|
||||
@@ -42,12 +39,6 @@ Config.now_if_args(function()
|
||||
end)
|
||||
end)
|
||||
|
||||
-- Mason =======================================================================
|
||||
Config.now_if_args(function()
|
||||
vim.pack.add({ "https://github.com/mason-org/mason.nvim" })
|
||||
require("mason").setup()
|
||||
end)
|
||||
|
||||
-- LSP =========================================================================
|
||||
Config.now_if_args(function()
|
||||
vim.pack.add({ "https://github.com/neovim/nvim-lspconfig" })
|
||||
@@ -91,11 +82,6 @@ function Config.setup_dap()
|
||||
vim.pack.add({ "https://github.com/mfussenegger/nvim-dap" })
|
||||
|
||||
local dap = require("dap")
|
||||
dap.adapters.php = {
|
||||
type = "executable",
|
||||
command = "node",
|
||||
args = { vim.fn.stdpath("data") .. "/mason/packages/php-debug-adapter/extension/out/phpDebug.js" },
|
||||
}
|
||||
dap.adapters.go = {
|
||||
type = "server",
|
||||
host = "127.0.0.1",
|
||||
|
||||
Reference in New Issue
Block a user