From d38e3d5ea7d080ad6ce285b8dffd70623a1566bb Mon Sep 17 00:00:00 2001 From: Christian Segundo Date: Fri, 17 Jan 2025 23:08:34 +0100 Subject: remove all references to treesitter --- lua/plugins/lang/ansible.lua | 10 ---------- lua/plugins/lang/bash.lua | 10 ---------- lua/plugins/lang/c.lua | 9 --------- lua/plugins/lang/dockerfile.lua | 10 ---------- lua/plugins/lang/go.lua | 14 -------------- lua/plugins/lang/groovy.lua | 10 ---------- lua/plugins/lang/jq.lua | 10 ---------- lua/plugins/lang/json.lua | 10 ---------- lua/plugins/lang/jsonnet.lua | 10 ---------- lua/plugins/lang/ledger.lua | 9 --------- lua/plugins/lang/lua.lua | 11 ----------- lua/plugins/lang/nix.lua | 10 ---------- lua/plugins/lang/perl.lua | 10 ---------- lua/plugins/lang/promql.lua | 10 ---------- lua/plugins/lang/python.lua | 9 --------- lua/plugins/lang/swift.lua | 10 ---------- lua/plugins/lang/terraform.lua | 13 ------------- lua/plugins/lang/yaml.lua | 10 ---------- lua/plugins/lang/zig.lua | 10 ---------- 19 files changed, 195 deletions(-) (limited to 'lua/plugins/lang') diff --git a/lua/plugins/lang/ansible.lua b/lua/plugins/lang/ansible.lua index e86b201..52c79d0 100644 --- a/lua/plugins/lang/ansible.lua +++ b/lua/plugins/lang/ansible.lua @@ -4,16 +4,6 @@ return { ft = { "ansible", "yaml.ansible", "yaml" }, }, - { - "nvim-treesitter/nvim-treesitter", - opts = function(_, opts) - if type(opts) == "table" then - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "yaml" }) - end - end, - }, - { "neovim/nvim-lspconfig", opts = function(_, opts) diff --git a/lua/plugins/lang/bash.lua b/lua/plugins/lang/bash.lua index 1c4b738..7ac5bc5 100644 --- a/lua/plugins/lang/bash.lua +++ b/lua/plugins/lang/bash.lua @@ -1,14 +1,4 @@ return { - { - "nvim-treesitter/nvim-treesitter", - opts = function(_, opts) - if type(opts) == "table" then - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "bash" }) - end - end, - }, - { "jose-elias-alvarez/null-ls.nvim", opts = function(_, opts) diff --git a/lua/plugins/lang/c.lua b/lua/plugins/lang/c.lua index a42e9d8..89200f9 100644 --- a/lua/plugins/lang/c.lua +++ b/lua/plugins/lang/c.lua @@ -1,13 +1,4 @@ return { - { - "nvim-treesitter/nvim-treesitter", - opts = function(_, opts) - if type(opts) == "table" then - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "c" }) - end - end, - }, { "jose-elias-alvarez/null-ls.nvim", opts = function(_, opts) diff --git a/lua/plugins/lang/dockerfile.lua b/lua/plugins/lang/dockerfile.lua index 9f85765..5140cdd 100644 --- a/lua/plugins/lang/dockerfile.lua +++ b/lua/plugins/lang/dockerfile.lua @@ -1,14 +1,4 @@ return { - { - "nvim-treesitter/nvim-treesitter", - opts = function(_, opts) - if type(opts) == "table" then - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "dockerfile" }) - end - end, - }, - { "jose-elias-alvarez/null-ls.nvim", opts = function(_, opts) diff --git a/lua/plugins/lang/go.lua b/lua/plugins/lang/go.lua index becddf8..2a20741 100644 --- a/lua/plugins/lang/go.lua +++ b/lua/plugins/lang/go.lua @@ -7,20 +7,6 @@ return { ft = { "go" }, }, - { - "nvim-treesitter/nvim-treesitter", - opts = function(_, opts) - if type(opts) == "table" then - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { - "go", - "gomod", - "gosum", - }) - end - end, - }, - { "jose-elias-alvarez/null-ls.nvim", opts = function(_, opts) diff --git a/lua/plugins/lang/groovy.lua b/lua/plugins/lang/groovy.lua index 020daa2..b9c6994 100644 --- a/lua/plugins/lang/groovy.lua +++ b/lua/plugins/lang/groovy.lua @@ -1,14 +1,4 @@ return { - { - "nvim-treesitter/nvim-treesitter", - opts = function(_, opts) - if type(opts) == "table" then - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "groovy" }) - end - end, - }, - { "jose-elias-alvarez/null-ls.nvim", opts = function(_, opts) diff --git a/lua/plugins/lang/jq.lua b/lua/plugins/lang/jq.lua index 7123ae8..da249cc 100644 --- a/lua/plugins/lang/jq.lua +++ b/lua/plugins/lang/jq.lua @@ -1,14 +1,4 @@ return { - { - "nvim-treesitter/nvim-treesitter", - opts = function(_, opts) - if type(opts) == "table" then - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "jq" }) - end - end, - }, - { "neovim/nvim-lspconfig", opts = function(_, opts) diff --git a/lua/plugins/lang/json.lua b/lua/plugins/lang/json.lua index bdecb7f..891451a 100644 --- a/lua/plugins/lang/json.lua +++ b/lua/plugins/lang/json.lua @@ -1,14 +1,4 @@ return { - { - "nvim-treesitter/nvim-treesitter", - opts = function(_, opts) - if type(opts) == "table" then - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "json" }) - end - end, - }, - { "neovim/nvim-lspconfig", opts = function(_, opts) diff --git a/lua/plugins/lang/jsonnet.lua b/lua/plugins/lang/jsonnet.lua index c6663d0..41a6ef9 100644 --- a/lua/plugins/lang/jsonnet.lua +++ b/lua/plugins/lang/jsonnet.lua @@ -4,16 +4,6 @@ return { ft = { "jsonnet" }, }, - { - "nvim-treesitter/nvim-treesitter", - opts = function(_, opts) - if type(opts) == "table" then - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "jsonnet" }) - end - end, - }, - { "neovim/nvim-lspconfig", opts = function(_, opts) diff --git a/lua/plugins/lang/ledger.lua b/lua/plugins/lang/ledger.lua index dcd6a0f..a380d34 100644 --- a/lua/plugins/lang/ledger.lua +++ b/lua/plugins/lang/ledger.lua @@ -1,13 +1,4 @@ return { - { - "nvim-treesitter/nvim-treesitter", - opts = function(_, opts) - if type(opts) == "table" then - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "ledger" }) - end - end, - }, { "ledger/vim-ledger", ft = { "ldg", "ledger", "journal" }, diff --git a/lua/plugins/lang/lua.lua b/lua/plugins/lang/lua.lua index a6ac64e..e45c0a4 100644 --- a/lua/plugins/lang/lua.lua +++ b/lua/plugins/lang/lua.lua @@ -1,16 +1,5 @@ return { -- { "folke/neodev.nvim", lazy = true, opts = {} }, - - { - "nvim-treesitter/nvim-treesitter", - opts = function(_, opts) - if type(opts) == "table" then - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "lua" }) - end - end, - }, - { "jose-elias-alvarez/null-ls.nvim", opts = function(_, opts) diff --git a/lua/plugins/lang/nix.lua b/lua/plugins/lang/nix.lua index 3eca0ee..99a90ce 100644 --- a/lua/plugins/lang/nix.lua +++ b/lua/plugins/lang/nix.lua @@ -1,14 +1,4 @@ return { - { - "nvim-treesitter/nvim-treesitter", - opts = function(_, opts) - if type(opts) == "table" then - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "nix" }) - end - end, - }, - { "jose-elias-alvarez/null-ls.nvim", opts = function(_, opts) diff --git a/lua/plugins/lang/perl.lua b/lua/plugins/lang/perl.lua index 5b9953f..7cec0f0 100644 --- a/lua/plugins/lang/perl.lua +++ b/lua/plugins/lang/perl.lua @@ -1,14 +1,4 @@ return { - { - "nvim-treesitter/nvim-treesitter", - opts = function(_, opts) - if type(opts) == "table" then - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "perl" }) - end - end, - }, - { "jose-elias-alvarez/null-ls.nvim", opts = function(_, opts) diff --git a/lua/plugins/lang/promql.lua b/lua/plugins/lang/promql.lua index 79ec72a..c2c6bd3 100644 --- a/lua/plugins/lang/promql.lua +++ b/lua/plugins/lang/promql.lua @@ -1,14 +1,4 @@ return { - { - "nvim-treesitter/nvim-treesitter", - opts = function(_, opts) - if type(opts) == "table" then - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "promql" }) - end - end, - }, - { name = "promqlfmt", url = "https://git.segundo.io/nvim/promqlfmt", diff --git a/lua/plugins/lang/python.lua b/lua/plugins/lang/python.lua index d1f89d9..62470c6 100644 --- a/lua/plugins/lang/python.lua +++ b/lua/plugins/lang/python.lua @@ -1,13 +1,4 @@ return { - { - "nvim-treesitter/nvim-treesitter", - opts = function(_, opts) - if type(opts) == "table" then - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "python" }) - end - end, - }, { "neovim/nvim-lspconfig", opts = function(_, opts) diff --git a/lua/plugins/lang/swift.lua b/lua/plugins/lang/swift.lua index aa3a6ef..754af51 100644 --- a/lua/plugins/lang/swift.lua +++ b/lua/plugins/lang/swift.lua @@ -1,14 +1,4 @@ return { - { - "nvim-treesitter/nvim-treesitter", - opts = function(_, opts) - if type(opts) == "table" then - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "swift" }) - end - end, - }, - { "jose-elias-alvarez/null-ls.nvim", opts = function(_, opts) diff --git a/lua/plugins/lang/terraform.lua b/lua/plugins/lang/terraform.lua index 1bf5b6e..b8aa29f 100644 --- a/lua/plugins/lang/terraform.lua +++ b/lua/plugins/lang/terraform.lua @@ -1,17 +1,4 @@ return { - { - "nvim-treesitter/nvim-treesitter", - opts = function(_, opts) - if type(opts) == "table" then - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { - "hcl", - "terraform", - }) - end - end, - }, - { "jose-elias-alvarez/null-ls.nvim", opts = function(_, opts) diff --git a/lua/plugins/lang/yaml.lua b/lua/plugins/lang/yaml.lua index 522dee4..8b119c8 100644 --- a/lua/plugins/lang/yaml.lua +++ b/lua/plugins/lang/yaml.lua @@ -1,14 +1,4 @@ return { - { - "nvim-treesitter/nvim-treesitter", - opts = function(_, opts) - if type(opts) == "table" then - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "yaml" }) - end - end, - }, - { "jose-elias-alvarez/null-ls.nvim", opts = function(_, opts) diff --git a/lua/plugins/lang/zig.lua b/lua/plugins/lang/zig.lua index 3954ca6..b65604b 100644 --- a/lua/plugins/lang/zig.lua +++ b/lua/plugins/lang/zig.lua @@ -1,14 +1,4 @@ return { - { - "nvim-treesitter/nvim-treesitter", - opts = function(_, opts) - if type(opts) == "table" then - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "zig" }) - end - end, - }, - { "jose-elias-alvarez/null-ls.nvim", opts = function(_, opts) -- cgit v1.2.3