From e9c4aa91752702cc06a91a89851e1d60bedc78e0 Mon Sep 17 00:00:00 2001 From: Ruthenic Date: Wed, 15 Dec 2021 17:05:38 -0500 Subject: [PATCH] Actually use treesitter, remove cursorline --- lua/config.lua | 1 + lua/plugins.lua | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/lua/config.lua b/lua/config.lua index 60f50ec..98ecaeb 100644 --- a/lua/config.lua +++ b/lua/config.lua @@ -9,6 +9,7 @@ set.pumheight = 5 -- Uhh whatever the fuck this does set.number = true -- Show line numbers set.tabstop = 4 -- Set up tabs set.shiftwidth = 4 -- See above +set.cursorline = false -- Autocmds diff --git a/lua/plugins.lua b/lua/plugins.lua index 735ddad..f63b3e4 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -1,5 +1,6 @@ local get_hex = require('cokeline/utils').get_hex local coq = require "coq" +-- local highlight = require "todo-comments.highlight" require("filetype").setup { overrides = { @@ -54,6 +55,13 @@ require'lspconfig'.sumneko_lua.setup { coq.lsp_ensure_capabilities(), } +require('nvim-treesitter.configs').setup { + highlight = { + enable = true, + disable = {"lua"} + } +} + vim.cmd('COQnow -s') local function filenameIfFileOpened()