From 41496571f881788cc3d62869d3550666261aecfe Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sun, 11 Sep 2022 16:20:30 -0500 Subject: [PATCH] Revert "feat(nvim): improve treesitter highlighting w/ markid" This reverts commit cd23fdf0458c7144dcb404678261efe3023ea15b. --- .../config/lua/plugins/configs/treesitter.lua | 9 +++------ .../primary/config/lua/plugins/plugins.lua | 17 +++++++---------- 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/dots/.nvim-environments/primary/config/lua/plugins/configs/treesitter.lua b/dots/.nvim-environments/primary/config/lua/plugins/configs/treesitter.lua index d9d2124e..d20425ed 100755 --- a/dots/.nvim-environments/primary/config/lua/plugins/configs/treesitter.lua +++ b/dots/.nvim-environments/primary/config/lua/plugins/configs/treesitter.lua @@ -1,13 +1,13 @@ -local nvim_treesitter = require("nvim-treesitter.configs") +local nvim_treesitter = require('nvim-treesitter.configs') nvim_treesitter.setup({ ensure_installed = { - "norg", + 'norg', }, highlight = { enable = true, additional_vim_regex_highlighting = true, - disable = { "yaml" }, + disable = { 'yaml' }, }, matchup = { enable = true, @@ -18,7 +18,4 @@ nvim_treesitter.setup({ yati = { enable = true, }, - markid = { - enable = true, - }, }) diff --git a/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua b/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua index fcdf7768..324abadf 100755 --- a/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua +++ b/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua @@ -186,9 +186,6 @@ return packer.startup({ use({ "nvim-treesitter/nvim-treesitter", run = ":TSUpdate", - requires = { - "David-Kunz/markid", - }, config = function() require("plugins.configs.treesitter") end, @@ -749,13 +746,13 @@ return packer.startup({ }) -- Highlight argument definitions and usages - -- use({ - -- "m-demare/hlargs.nvim", - -- requires = { "nvim-treesitter/nvim-treesitter" }, - -- config = function() - -- require("hlargs").setup({}) - -- end, - -- }) + use({ + "m-demare/hlargs.nvim", + requires = { "nvim-treesitter/nvim-treesitter" }, + config = function() + require("hlargs").setup({}) + end, + }) -- Vim Latex Support use({