chore: remove mason and nvim-treesitter-textobjects
This commit is contained in:
+6
-14
@@ -4,29 +4,21 @@
|
|||||||
"rev": "016802de402556da54c36bd7359b441266b01cdd",
|
"rev": "016802de402556da54c36bd7359b441266b01cdd",
|
||||||
"src": "https://github.com/stevearc/conform.nvim"
|
"src": "https://github.com/stevearc/conform.nvim"
|
||||||
},
|
},
|
||||||
"mason.nvim": {
|
|
||||||
"rev": "2a6940af80375532e5e9e7c1f2fc6319a1b7a69d",
|
|
||||||
"src": "https://github.com/mason-org/mason.nvim"
|
|
||||||
},
|
|
||||||
"mini.nvim": {
|
"mini.nvim": {
|
||||||
"rev": "fb2bbae327f3c306f3c825031345b89dd176ce60",
|
"rev": "9d01f392b33fb2ba36fbc87fc0bf4453e63ffb0a",
|
||||||
"src": "https://github.com/nvim-mini/mini.nvim"
|
"src": "https://github.com/nvim-mini/mini.nvim"
|
||||||
},
|
},
|
||||||
"neovim": {
|
|
||||||
"rev": "ff483051a47e27d84bdef47703538df1ed9f4a47",
|
|
||||||
"src": "https://github.com/rose-pine/neovim"
|
|
||||||
},
|
|
||||||
"nvim-lspconfig": {
|
"nvim-lspconfig": {
|
||||||
"rev": "684cb45c2faa24ce463b4fe9aaf011bfe1e0fb26",
|
"rev": "ee1e369181a9e64904cdd7b739e98c70778cfc71",
|
||||||
"src": "https://github.com/neovim/nvim-lspconfig"
|
"src": "https://github.com/neovim/nvim-lspconfig"
|
||||||
},
|
},
|
||||||
"nvim-treesitter": {
|
"nvim-treesitter": {
|
||||||
"rev": "857651fce37eba032ebe28f3a206283cdc65c45a",
|
"rev": "427e9222363d07c32d6db6169e4049c28d58d141",
|
||||||
"src": "https://github.com/nvim-treesitter/nvim-treesitter"
|
"src": "https://github.com/nvim-treesitter/nvim-treesitter"
|
||||||
},
|
},
|
||||||
"nvim-treesitter-textobjects": {
|
"rose-pine": {
|
||||||
"rev": "898ee307df58f854d11cd7edd06472574d48014e",
|
"rev": "ff483051a47e27d84bdef47703538df1ed9f4a47",
|
||||||
"src": "https://github.com/nvim-treesitter/nvim-treesitter-textobjects"
|
"src": "https://github.com/rose-pine/neovim"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-15
@@ -13,10 +13,7 @@ end)
|
|||||||
|
|
||||||
-- Treesitter ==================================================================
|
-- Treesitter ==================================================================
|
||||||
Config.now_if_args(function()
|
Config.now_if_args(function()
|
||||||
vim.pack.add({
|
vim.pack.add({ 'https://github.com/nvim-treesitter/nvim-treesitter' })
|
||||||
'https://github.com/nvim-treesitter/nvim-treesitter',
|
|
||||||
'https://github.com/nvim-treesitter/nvim-treesitter-textobjects',
|
|
||||||
})
|
|
||||||
|
|
||||||
vim.treesitter.language.register('tsx', { 'typescriptreact' })
|
vim.treesitter.language.register('tsx', { 'typescriptreact' })
|
||||||
|
|
||||||
@@ -42,12 +39,6 @@ Config.now_if_args(function()
|
|||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- Mason =======================================================================
|
|
||||||
Config.now_if_args(function()
|
|
||||||
vim.pack.add({ "https://github.com/mason-org/mason.nvim" })
|
|
||||||
require("mason").setup()
|
|
||||||
end)
|
|
||||||
|
|
||||||
-- LSP =========================================================================
|
-- LSP =========================================================================
|
||||||
Config.now_if_args(function()
|
Config.now_if_args(function()
|
||||||
vim.pack.add({ "https://github.com/neovim/nvim-lspconfig" })
|
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" })
|
vim.pack.add({ "https://github.com/mfussenegger/nvim-dap" })
|
||||||
|
|
||||||
local dap = require("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 = {
|
dap.adapters.go = {
|
||||||
type = "server",
|
type = "server",
|
||||||
host = "127.0.0.1",
|
host = "127.0.0.1",
|
||||||
|
|||||||
Reference in New Issue
Block a user