Skip to content

Auto compile cause this error under Windows. #57

@UnderCooled

Description

@UnderCooled

After I fixed #37 locally, save fennel file will cause this error:

"D:/dev_env/vimconf/nvim/fnl/colors.fnl" [unix] 18L, 1095B [w]
Error detected while processing BufWritePost Autocommands for "<buffer=9>":
Error executing lua callback: ...co/AppData/Local/nvim-data/lazy/nfnl/lua/nfnl/header.lua:13: attempt to index local 's' (a nil value)
stack traceback:
  ...co/AppData/Local/nvim-data/lazy/nfnl/lua/nfnl/header.lua:13: in function 'tagged?'
  ...s/unco/AppData/Local/nvim-data/lazy/nfnl/lua/nfnl/gc.lua:19: in function 'f'
  ...unco/AppData/Local/nvim-data/lazy/nfnl/lua/nfnl/core.lua:154: in function 'f'
  ...unco/AppData/Local/nvim-data/lazy/nfnl/lua/nfnl/core.lua:135: in function 'run_21'
  ...unco/AppData/Local/nvim-data/lazy/nfnl/lua/nfnl/core.lua:160: in function 'find-orphan-lua-files'
  .../unco/AppData/Local/nvim-data/lazy/nfnl/lua/nfnl/api.lua:20: in function 'find-orphans'
  .../AppData/Local/nvim-data/lazy/nfnl/lua/nfnl/callback.lua:16: in function <.../AppData/Local/nvim-data/lazy/nfnl/lua/nfnl/callback.lua:13>

My .nfnl.fnl:

{:source-file-patterns ["fnl/**/*.fnl" "fnl/*.fnl"]
 :compiler-options {:compilerEnv _G}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwindows

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions