Closed OmeletWithoutEgg closed 2 years ago
This is obviously related to #273 so CC @4e554c4c . Will try to have a look tomorrow myself.
can reproduce. this doesn't happen if you do
use {'Julian/lean.nvim', config = function() require 'lean'.setup{abbreviations = { builtin = true },mappings = true,} end}
so for some reason plugin configs are run after ftdetect scripts, but code in init.lua
isn't.
anyway this is kind of convincing me even more of what I said in https://github.com/Julian/lean.nvim/pull/273#discussion_r962194668, that we should make lean_nvim_ft_options
the stardard API for interacting with the ftdetect
script, which can be edited by users or the ft
module.
I'll try to release a fix for this in the next day or so, and draft up an API for working with file detection at the same time.
After some recent updates, the following error jumps out when I re-launch neovim.
To reproduce, use this
init.lua
config