all repos

init.lua @ 86ed8c7a4bc7b50776b0297e79eee6202eadb96e

my nvim config
1 files changed, 0 insertions(+), 28 deletions(-)
refactor(treesitter): remove headlines
Author: Smirnov Oleksandr ss2316544@gmail.com
Committed at: 2024-11-04 18:30:01 +0200
Parent: cd26ded
M lua/plugins/treesitter.lua

@@ -6,34 +6,6 @@ event = "BufReadPost",

dependencies = { "RRethy/nvim-treesitter-endwise", { "nvim-treesitter/nvim-treesitter-context", config = true }, - { - "lukas-reineke/headlines.nvim", - config = function() - require("headlines").setup { - go = { - codeblock_highlight = "ColorColumn", - query = vim.treesitter.query.parse( - "go", - [[([(raw_string_literal) - (interpreted_string_literal)] @codeblock - (#match? @codeblock "--sql" "-- sql" "--SQL" "-- SQL") - (#offset! @codeblock 0 0 1 0))]] - ), - }, - gleam = { - codeblock_highlight = "ColorColumn", - query = vim.treesitter.query.parse( - "gleam", - [[((let - pattern: (identifier) @_identifier - (#any-of? @_identifier "sql" "q" "query") - value: (string (quoted_content) @codeblock)) - (#offset! @codeblock 0 0 1 0))]] - ), - }, - } - end, - }, }, build = function() pcall(vim.cmd.TSUpdate)