mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-10 12:47:16 +00:00
chore: revert back the configs part
This commit is contained in:
parent
fefbf2f128
commit
a8ddc8d7e2
3 changed files with 3 additions and 3 deletions
|
|
@ -21,7 +21,7 @@ in {
|
|||
|
||||
pluginRC.orgmode = entryAnywhere ''
|
||||
-- Treesitter configuration
|
||||
require('nvim-treesitter').setup {
|
||||
require('nvim-treesitter.configs').setup {
|
||||
|
||||
-- If TS highlights are not enabled at all, or disabled via `disable` prop,
|
||||
-- highlighting will fallback to default Vim syntax highlighting
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ in {
|
|||
'');
|
||||
|
||||
pluginRC.treesitter = entryAfter ["basic"] ''
|
||||
require('nvim-treesitter').setup {
|
||||
require('nvim-treesitter.configs').setup {
|
||||
-- Disable imperative treesitter options that would attempt to fetch
|
||||
-- grammars into the read-only Nix store. To add additional grammars here
|
||||
-- you must use the `config.vim.treesitter.grammars` option.
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ in {
|
|||
|
||||
# set up treesitter-textobjects after Treesitter, whose config we're adding to.
|
||||
pluginRC.treesitter-textobjects = entryAfter ["treesitter"] ''
|
||||
require("nvim-treesitter").setup({textobjects = ${toLuaObject cfg.setupOpts}})
|
||||
require("nvim-treesitter.configs").setup({textobjects = ${toLuaObject cfg.setupOpts}})
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue