summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/custom/config
diff options
context:
space:
mode:
authorKyren223 <ulmliad223@gmail.com>2024-10-17 20:03:02 +0300
committerKyren223 <ulmliad223@gmail.com>2024-10-17 20:03:02 +0300
commitfd7442006f54792c8fc2996c301f706646733f46 (patch)
tree77d2e521760e6753360be6c32be00ef7039ca678 /.config/nvim/lua/custom/config
parent295c881e6174f17a56e23118e637ac230192b07a (diff)
feat: minor go tweaks
Diffstat (limited to '.config/nvim/lua/custom/config')
-rw-r--r--.config/nvim/lua/custom/config/commands.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/lua/custom/config/commands.lua b/.config/nvim/lua/custom/config/commands.lua
index 37bd2fc..50fca05 100644
--- a/.config/nvim/lua/custom/config/commands.lua
+++ b/.config/nvim/lua/custom/config/commands.lua
@@ -67,7 +67,7 @@ vim.api.nvim_create_autocmd({ 'BufEnter', 'TextChanged', 'InsertLeave' }, {
local text = vim.api.nvim_buf_get_text(bufnr, start_row, start_col, end_row, end_col, {})[1]
-- Highlight only the parts matching `%[a-z]`
- for match_start, match_end in text:gmatch('()%%[a-zT]()') do
+ for match_start, match_end in text:gmatch('()%%[a-z]()') do
vim.api.nvim_buf_add_highlight(
bufnr,
-1,