diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-12-01 21:14:33 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-12-01 21:14:33 +0100 |
| commit | 9110076ffb4bc58f7cd7a4fc42657c05a06dd0b0 (patch) | |
| tree | b71723eeee94d43ad68e3ec228df2ac4cbebcd9f /config | |
| parent | 8ddbd88a633894f7cb411e6c16bac232ce30b179 (diff) | |
| download | dotfiles-9110076ffb4bc58f7cd7a4fc42657c05a06dd0b0.tar.gz dotfiles-9110076ffb4bc58f7cd7a4fc42657c05a06dd0b0.tar.bz2 dotfiles-9110076ffb4bc58f7cd7a4fc42657c05a06dd0b0.zip | |
Updated neovim config to disable treesitter error highlight
Diffstat (limited to 'config')
| -rw-r--r-- | config/nvim/init.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/config/nvim/init.lua b/config/nvim/init.lua index 7436b8b..cb1d827 100644 --- a/config/nvim/init.lua +++ b/config/nvim/init.lua @@ -43,9 +43,10 @@ vim.opt.laststatus=2 -- always a statusline (all window) vim.opt.showcmd = true -- show current partial command in the bottom right vim.opt.showmode = false -- dont show current mode (i.e --INSERT--) --- require 'nvim-treesitter.highlight' --- local hlmap = vim.treesitter.TSHighlighter.hl_map --- hlmap.error = nil +-- remove ugly treesitter error highlight +require 'nvim-treesitter.highlight' +local hlmap = vim.treesitter.highlighter.hl_map +hlmap.error = nil -- local on_attach = function(_, bufnr) -- local opts = {noremap = true, silent = true } |
