You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting enable_close_on_slash = true (and enable_close=false)
If the cursor is at * and the user presses /, it's expected that /title> will be inserted, however, instead /html> is inserted.
Minimal Repro
---Save as ./init.lua---Load with `nvim -u ./init.lua`---Plugins are installed in ./.repro/plugins---Cleanup with `rm -rf ./.repro ./init.lua`localroot=vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .reprofor_, nameinipairs({ "config", "data", "state", "cache" }) dovim.env[("XDG_%s_HOME"):format(name:upper())] =root.."/" ..nameendlocallazypath=root.."/lazy/lazy.nvim"ifnotvim.loop.fs_stat(lazypath) thenvim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable",
lazypath,
})
endvim.opt.rtp:prepend(lazypath)
require("lazy").setup({
{ -- Colorscheme. Don't blind me pls :)"folke/tokyonight.nvim",
init=function() require("tokyonight").load() end,
opts= {
transparent=true,
dim_inactive=true,
style="night",
styles= { sidebars="transparent", floats="transparent" },
},
},
{ -- Set up treesitter"nvim-treesitter/nvim-treesitter",
build=":TSUpdate",
opts= { auto_install=true },
config=function(_, opts) returnrequire("nvim-treesitter.configs").setup(opts) end,
},
{ -- Set up autotag"windwp/nvim-ts-autotag",
dependencies= { "nvim-treesitter/nvim-treesitter" },
opts= {
opts= {
enable_close_on_slash=true,
enable_close=false,
},
},
},
}, { root=root.."/plugins" })
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Example:
When setting
enable_close_on_slash = true
(andenable_close=false
)If the cursor is at
*
and the user presses/
, it's expected that/title>
will be inserted, however, instead/html>
is inserted.Minimal Repro
The text was updated successfully, but these errors were encountered: