mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(nvim): add treesitter-context plugin
This commit is contained in:
7
nvim/after/plugin/context.lua
Normal file
7
nvim/after/plugin/context.lua
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
-- nvim-treesitter-context – https://github.com/nvim-treesitter/nvim-treesitter-context
|
||||||
|
local status_ok, context = pcall(require, "treesitter-context")
|
||||||
|
if not status_ok then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
context.setup()
|
||||||
@@ -96,6 +96,7 @@ return packer.startup(function(use)
|
|||||||
use({ "nvim-treesitter/nvim-treesitter", run = ":TSUpdate" })
|
use({ "nvim-treesitter/nvim-treesitter", run = ":TSUpdate" })
|
||||||
use("p00f/nvim-ts-rainbow") -- Rainbox parentheses
|
use("p00f/nvim-ts-rainbow") -- Rainbox parentheses
|
||||||
use("nvim-treesitter/playground") -- Treesitter information in Neovim
|
use("nvim-treesitter/playground") -- Treesitter information in Neovim
|
||||||
|
use("nvim-treesitter/nvim-treesitter-context") -- Show context
|
||||||
|
|
||||||
-- File/Window Management
|
-- File/Window Management
|
||||||
use("ThePrimeagen/harpoon") -- Getting you where you want
|
use("ThePrimeagen/harpoon") -- Getting you where you want
|
||||||
|
|||||||
Reference in New Issue
Block a user