Skip to content

Error when opening .c files #11

@cdunku

Description

@cdunku

I get this error whenever I open a .c file with this config

This is the error:

Error detected while processing BufReadPost Autocommands for "*":
E5108: Error executing lua vim/_editor.lua:0: BufReadPost Autocommands for "*"..script nvim_exe
c2() called at BufReadPost Autocommands for "*":0: Vim(call):E117: Unknown function: dist#ft#FT
lpc
stack traceback:
        [C]: in function 'nvim_exec2'
        vim/_editor.lua: in function 'cmd'
        ...im/lazy/filetype.nvim/lua/filetype/mappings/function.lua:265: in function 'name'
        ...ocal/share/nvim/lazy/filetype.nvim/lua/filetype/init.lua:17: in function 'set_filety
pe'
        ...ocal/share/nvim/lazy/filetype.nvim/lua/filetype/init.lua:65: in function 'try_lookup
'
        ...ocal/share/nvim/lazy/filetype.nvim/lua/filetype/init.lua:168: in function 'resolve'
        [string ":lua"]:1: in main chunk

How can I fix this?
P.S. - Great config btw!

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