From 8299f4dbd080361d6f9f0a460878d50e062c07a3 Mon Sep 17 00:00:00 2001 From: Abhinav Robinson Date: Mon, 17 Jun 2024 11:07:31 +0530 Subject: [PATCH] fix: nushell --- init.lua | 6 +++--- lua/custom/plugins/themes.lua | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/init.lua b/init.lua index af90c372..a813606a 100644 --- a/init.lua +++ b/init.lua @@ -794,10 +794,9 @@ require('lazy').setup({ -- Load the colorscheme here. -- Like many other themes, this one has different styles, and you could load -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'. - vim.cmd.colorscheme 'tokyonight-night' - + -- vim.cmd.colorscheme 'tokyonight-night' -- You can configure highlights by doing something like: - vim.cmd.hi 'Comment gui=none' + -- vim.cmd.hi 'Comment gui=none' end, }, @@ -843,6 +842,7 @@ require('lazy').setup({ }, { -- Highlight, edit, and navigate code 'nvim-treesitter/nvim-treesitter', + dependencies = { { 'nushell/tree-sitter-nu' } }, build = ':TSUpdate', opts = { ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'vim', 'vimdoc', 'typescript', 'javascript', 'tsx', 'json' }, diff --git a/lua/custom/plugins/themes.lua b/lua/custom/plugins/themes.lua index e85a46db..c99bf0fd 100644 --- a/lua/custom/plugins/themes.lua +++ b/lua/custom/plugins/themes.lua @@ -4,8 +4,8 @@ return { name = 'catppuccin', priority = 1000, init = function() - -- vim.cmd.colorscheme 'catppuccin-mocha' - -- vim.cmd.hi 'Comment gui=none' + vim.cmd.colorscheme 'catppuccin-mocha' + vim.cmd.hi 'Comment gui=none' end, }, {