-
-
Notifications
You must be signed in to change notification settings - Fork 303
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Checklist
- I have searched through the AstroNvim documentation
- I have searched through the existing issues of this project
- I have searched the existing issues of plugins related to this issue
- I can replicate the bug with the minimal
repro.luaprovided below
Neovim version (nvim -v)
0.10.2
Operating system/version
Ubuntu WSL2
Terminal/GUI
Windows Terminal
Describe the bug
When trying to autocomplete a symbol like \in to ∈, the autocomplete turns it into \∈ instead, and the backslash isn't compatible with Julia and has to be manually removed
Steps to Reproduce
- Launch nvim with repro.lua
- open a file with .jl ext
- type
\to trigger autocomplete - type
inorneqfor the relevant symbol - press enter to accept
Expected behavior
\in should turn to ∈ but instead turns to \∈
\neq should turn to ≠ but instead turns to \≠
Screenshots
No response
Additional Context
No response
Minimal configuration
-- save as repro.lua
-- run with nvim -u repro.lua
-- DO NOT change the paths
local root = vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "runtime", "cache" }) do
vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end
-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
-- stylua: ignore
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable",
lazypath })
end
vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
-- install plugins
local plugins = {
{ "AstroNvim/AstroNvim", import = "astronvim.plugins" },
{ "AstroNvim/astrocommunity" },
{ import = "astrocommunity.pack.julia" },
-- add any other plugins/customizations here
}
require("lazy").setup(plugins, {
root = root .. "/plugins",
})
-- add anything else here (autocommands, vim.filetype, etc.)Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working