From 43e41fe47b965d47450a2fe05b6fa9e755e08502 Mon Sep 17 00:00:00 2001 From: Minijackson Date: Mon, 7 Oct 2024 17:56:15 +0200 Subject: common/nixvim: setup tree-sitter highlighting --- common/nixvim.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/nixvim.nix b/common/nixvim.nix index 81a96ea..53228e0 100644 --- a/common/nixvim.nix +++ b/common/nixvim.nix @@ -579,7 +579,10 @@ in enable = true; nixvimInjections = true; - settings.indent.enable = true; + settings = { + highlight.enable = true; + indent.enable = true; + }; }; treesitter-context = { @@ -630,7 +633,6 @@ in require('highlight-undo').setup() - -- For fugitive's :GBrowse vim.api.nvim_create_user_command("Browse", function(opts) vim.ui.open(opts.args) -- cgit v1.2.3