From 14fa309c3c7d70f36aac087350ceac3a7ff32dfc Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Mon, 3 Jul 2023 07:23:31 +0200 Subject: Neovim: Add nvim-treesitter-context --- .config/nvim/lua/plugins.lua | 1 + .profile | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index b0def30..8f274b0 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -29,6 +29,7 @@ local PKGS = { -- Code colors { url = "https://github.com/lukas-reineke/indent-blankline.nvim.git" }; { url = "https://github.com/nvim-treesitter/nvim-treesitter.git" }; + { url = "https://github.com/nvim-treesitter/nvim-treesitter-context" }; { url = "https://github.com/norcalli/nvim-colorizer.lua.git" }; { url = "https://github.com/mracos/mermaid.vim.git" }; diff --git a/.profile b/.profile index 328be26..4a853cf 100755 --- a/.profile +++ b/.profile @@ -21,6 +21,7 @@ NEXT_TELEMETRY_DEBUG=1 BUN_INSTALL="$HOME/.bun" GOPROXY="direct" +GOTOOLCHAIN="local" EDITOR="$(which nvim 2> /dev/null || which vim 2> /dev/null || which nano 2> /dev/null || which vi 2> /dev/null)" GTK_THEME="Dracula" BAT_THEME="Dracula" @@ -45,6 +46,7 @@ export EDITOR export GTK_THEME export BAT_THEME export TERMINAL +export GOTOOLCHAIN BAT="$(which bat 2> /dev/null || which batcat 2> /dev/null)" if [ -n "$BAT" ] && man --version 2> /dev/null > /dev/null -- cgit v1.2.3