mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 00:49:03 +02:00
feat(toggle): add keymap to toggle treesitter context (#1711)
* feat: add keymap to toggle treesitter context * fix: get correct enabled state --------- Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
This commit is contained in:
parent
f724eae2e3
commit
5e1a86d3b2
2 changed files with 17 additions and 1 deletions
|
@ -6,7 +6,7 @@ local M = {}
|
|||
local format_opts = {}
|
||||
|
||||
---@param opts ConformOpts
|
||||
function M.setup(plugin, opts)
|
||||
function M.setup(_, opts)
|
||||
local util = require("conform.util")
|
||||
opts.formatters = opts.formatters or {}
|
||||
for name, formatter in pairs(opts.formatters) do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue