Skip to content
This repository was archived by the owner on May 6, 2024. It is now read-only.
This repository was archived by the owner on May 6, 2024. It is now read-only.

Unknown function: dist#ft#FTlpc #96

@dsoto1219

Description

@dsoto1219

When loading certain filetypes on my machine, including .c and .tex, the following error appears in red when opening these files using neovim:

Error detected while processing BufNewFile Autocommands for "*":
E5108: Error executing lua vim/_editor.lua:341: BufNewFile Autocommands for "*"..script nvim_exec2() called at BufNewFile Autocommands for "*":0: Vim(call):E117: Unknown function: dist#ft#FTlpc
stack traceback:
        [C]: in function 'nvim_exec2'
        vim/_editor.lua:341: in function 'cmd'
        ...ta/lazy/filetype.nvim/lua/filetype/mappings/function.lua:265: in function 'name'
        ...Local/nvim-data/lazy/filetype.nvim/lua/filetype/init.lua:17: in function 'set_filetype'
        ...Local/nvim-data/lazy/filetype.nvim/lua/filetype/init.lua:65: in function 'try_lookup'
        ...Local/nvim-data/lazy/filetype.nvim/lua/filetype/init.lua:168: in function 'resolve'
        [string ":lua"]:1: in main chunk

Continuing past these errors disabled all treesitter highlighting in these filetypes. So far, deleting filetype.nvim from my lazy config was the only way to stop this error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions