Closed aareman closed 3 years ago
So Aniseed actually includes it's own copy of Fennel syntax highlighting now that probably takes precedence? It's basically this repo that I integrated into Aniseed: https://github.com/Olical/fennel.vim which is just a fork of the one you mentioned with some Aniseed specific things added.
I get the impression that this might depend on your OS, Neovim build and version 🤔 feels like it's hitting some rule limit in your setup?
Would you be able to share your nvim --version
and OS / architecture information? Just to narrow things down? I suspect we can just tweak one of the highlighting regexes to get around this for you without breaking things.
Oh other thing to note, my fork of fennel.vim (which is included with Aniseed) includes the outstanding PRs from the fennel.vim repo, so I'm trying to integrate work others have done, maybe one of those changes introduced this issue.
For the record, I've never seen this, so I think it's a very system dependent error.
Sure.
:version
NVIM v0.5.0-dev+1293-ga0da4c3a4
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-
prototypes -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN
_LOG_LEVEL=3 -I/home/runner/work/neovim/neovim/build/config -I/home/runner/work/neovim/neovim/src -I/home/runner/work/neovim/neovim/.deps/usr/include -I/usr/include -I/home/runner/work/n
eovim/neovim/build/src/nvim/auto -I/home/runner/work/neovim/neovim/build/include
Compiled by runner@fv-az84-827
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/home/runner/work/neovim/neovim/build/nvim.AppDir/usr/share/nvim"
Run :checkhealth for more info
Press ENTER or type command to continue
cat /etc/*-release
Do you have bakpakin/fennel.vim
installed as well as Aniseed? Because they're probably conflicting if so 🤔 I still have no hunches about this, I can only imagine it's to do with available RAM or even processor architecture (32bit?). All of those are long shots, but all I can think of right now.
Unless there's a vim option that can chance some limit that you have lower than others 🤔
I adjusted the setting set regexpengine = 0 and now the error is not showing up. I had it set to 1 before from a long time ago for performance reasons. Seems to work fine now though.
From: Oliver Caldwell @.> Sent: Saturday, May 22, 2021 6:22 AM To: Olical/aniseed @.> Cc: Avraham Areman @.>; Author @.> Subject: Re: [Olical/aniseed] Error in syntax highlighting (#39)
Do you have bakpakin/fennel.vim installed as well as Aniseed? Because they're probably conflicting if so 🤔 I still have no hunches about this, I can only imagine it's to do with available RAM or even processor architecture (32bit?). All of those are long shots, but all I can think of right now.
Unless there's a vim option that can chance some limit that you have lower than others 🤔
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Olical/aniseed/issues/39#issuecomment-846387809, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACQDVV2Y5SUQGAM3MC74LB3TO6AWXANCNFSM44BCIDXQ.
Oh cool! Glad to hear that! I'll close this for now since I have no idea what I can do about it other than simplifying the regexp that I've decided to sort of inherit / fork into this repo 😅
Hey, trying out using a init.fnl file. Running in to syntax highlighting not working. If I run
:e!
I getand then the syntax highlighting works.
I thought the error might be in https://github.com/bakpakin/fennel.vim, but it says its in
../plugged/aniseed/syntax/fennel.vim
Checkhealth