aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Matei Pintilie <luca@lucamatei.com>2023-07-03 05:23:31 +0000
committerLuca Matei Pintilie <luca@lucamatei.com>2023-07-03 05:23:31 +0000
commit14fa309c3c7d70f36aac087350ceac3a7ff32dfc (patch)
tree75001c9c882142ca21778543fa5859948650ed36
parent10725de30d546577f87faedf30c8bc4355e880d5 (diff)
downloaddotfiles-14fa309c3c7d70f36aac087350ceac3a7ff32dfc.tar
dotfiles-14fa309c3c7d70f36aac087350ceac3a7ff32dfc.tar.gz
dotfiles-14fa309c3c7d70f36aac087350ceac3a7ff32dfc.tar.bz2
dotfiles-14fa309c3c7d70f36aac087350ceac3a7ff32dfc.tar.lz
dotfiles-14fa309c3c7d70f36aac087350ceac3a7ff32dfc.tar.xz
dotfiles-14fa309c3c7d70f36aac087350ceac3a7ff32dfc.tar.zst
dotfiles-14fa309c3c7d70f36aac087350ceac3a7ff32dfc.zip
Neovim: Add nvim-treesitter-context
-rw-r--r--.config/nvim/lua/plugins.lua1
-rwxr-xr-x.profile2
2 files changed, 3 insertions, 0 deletions
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