fix: resolve nvim treesitter errors
This commit is contained in:
@@ -2,12 +2,12 @@ local ts = require("treesj")
|
|||||||
local vim = vim
|
local vim = vim
|
||||||
local keymap = vim.keymap
|
local keymap = vim.keymap
|
||||||
local opt = vim.opt
|
local opt = vim.opt
|
||||||
local treesitter_configs = require("nvim-treesitter.configs")
|
local treesitter = require("nvim-treesitter")
|
||||||
|
|
||||||
local nixCatsUtils = require("nixCatsUtils")
|
local nixCatsUtils = require("nixCatsUtils")
|
||||||
local is_nix = nixCatsUtils.isNixCats
|
local is_nix = nixCatsUtils.isNixCats
|
||||||
|
|
||||||
treesitter_configs.setup({
|
treesitter.setup({
|
||||||
-- Basically added what I might need from the docs
|
-- Basically added what I might need from the docs
|
||||||
-- <https://github.com/nvim-treesitter/nvim-treesitter?tab=readme-ov-file#supported-languages>
|
-- <https://github.com/nvim-treesitter/nvim-treesitter?tab=readme-ov-file#supported-languages>
|
||||||
ensure_installed = is_nix and {} or {
|
ensure_installed = is_nix and {} or {
|
||||||
|
|||||||
17
dots/.config/nvim/flake.lock
generated
17
dots/.config/nvim/flake.lock
generated
@@ -103,22 +103,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"plugins-crazy-node-movement": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1693654676,
|
|
||||||
"narHash": "sha256-hQcQEp39zFN2zphMfcr97yRVcuHhBsSkzKO7XNloDpQ=",
|
|
||||||
"owner": "theHamsta",
|
|
||||||
"repo": "crazy-node-movement",
|
|
||||||
"rev": "d5cf01cc44c5715501d3d6fe439af7c8b7fa5df2",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "theHamsta",
|
|
||||||
"repo": "crazy-node-movement",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"plugins-helm-ls-nvim": {
|
"plugins-helm-ls-nvim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
@@ -221,7 +205,6 @@
|
|||||||
"nixCats": "nixCats",
|
"nixCats": "nixCats",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"plugins-beancount-nvim": "plugins-beancount-nvim",
|
"plugins-beancount-nvim": "plugins-beancount-nvim",
|
||||||
"plugins-crazy-node-movement": "plugins-crazy-node-movement",
|
|
||||||
"plugins-helm-ls-nvim": "plugins-helm-ls-nvim",
|
"plugins-helm-ls-nvim": "plugins-helm-ls-nvim",
|
||||||
"plugins-m-taskwarrior-d-nvim": "plugins-m-taskwarrior-d-nvim",
|
"plugins-m-taskwarrior-d-nvim": "plugins-m-taskwarrior-d-nvim",
|
||||||
"plugins-mcphub-nvim": "plugins-mcphub-nvim",
|
"plugins-mcphub-nvim": "plugins-mcphub-nvim",
|
||||||
|
|||||||
@@ -12,10 +12,6 @@
|
|||||||
url = "github:huantrinh1802/m_taskwarrior_d.nvim";
|
url = "github:huantrinh1802/m_taskwarrior_d.nvim";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
plugins-crazy-node-movement = {
|
|
||||||
url = "github:theHamsta/crazy-node-movement";
|
|
||||||
flake = false;
|
|
||||||
};
|
|
||||||
plugins-beancount-nvim = {
|
plugins-beancount-nvim = {
|
||||||
url = "github:polarmutex/beancount.nvim";
|
url = "github:polarmutex/beancount.nvim";
|
||||||
flake = false;
|
flake = false;
|
||||||
@@ -137,10 +133,9 @@
|
|||||||
pkgs.neovimPlugins.shipwright-nvim
|
pkgs.neovimPlugins.shipwright-nvim
|
||||||
lush-nvim
|
lush-nvim
|
||||||
zenbones-nvim
|
zenbones-nvim
|
||||||
pkgs.neovimPlugins.crazy-node-movement
|
|
||||||
nvim-treesitter.withAllGrammars
|
nvim-treesitter.withAllGrammars
|
||||||
# nvim-treesitter-textobjects
|
nvim-treesitter-textobjects
|
||||||
# nvim-treesitter-context
|
nvim-treesitter-context
|
||||||
nvim-ts-context-commentstring
|
nvim-ts-context-commentstring
|
||||||
treesj
|
treesj
|
||||||
sniprun
|
sniprun
|
||||||
|
|||||||
17
flake.lock
generated
17
flake.lock
generated
@@ -232,7 +232,6 @@
|
|||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"plugins-beancount-nvim": "plugins-beancount-nvim",
|
"plugins-beancount-nvim": "plugins-beancount-nvim",
|
||||||
"plugins-crazy-node-movement": "plugins-crazy-node-movement",
|
|
||||||
"plugins-helm-ls-nvim": "plugins-helm-ls-nvim",
|
"plugins-helm-ls-nvim": "plugins-helm-ls-nvim",
|
||||||
"plugins-m-taskwarrior-d-nvim": "plugins-m-taskwarrior-d-nvim",
|
"plugins-m-taskwarrior-d-nvim": "plugins-m-taskwarrior-d-nvim",
|
||||||
"plugins-mcphub-nvim": "plugins-mcphub-nvim",
|
"plugins-mcphub-nvim": "plugins-mcphub-nvim",
|
||||||
@@ -266,22 +265,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"plugins-crazy-node-movement": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1693654676,
|
|
||||||
"narHash": "sha256-hQcQEp39zFN2zphMfcr97yRVcuHhBsSkzKO7XNloDpQ=",
|
|
||||||
"owner": "theHamsta",
|
|
||||||
"repo": "crazy-node-movement",
|
|
||||||
"rev": "d5cf01cc44c5715501d3d6fe439af7c8b7fa5df2",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "theHamsta",
|
|
||||||
"repo": "crazy-node-movement",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"plugins-helm-ls-nvim": {
|
"plugins-helm-ls-nvim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|||||||
Reference in New Issue
Block a user