Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roadmap to graduating filetype.lua #18604

Closed
9 tasks done
clason opened this issue May 17, 2022 · 5 comments
Closed
9 tasks done

Roadmap to graduating filetype.lua #18604

clason opened this issue May 17, 2022 · 5 comments
Assignees
Labels
enhancement feature request filetype filetype detection, filetype.lua lua stdlib
Milestone

Comments

@clason
Copy link
Member

clason commented May 17, 2022

Goal: Make filetype.lua detection the default for Neovim 0.8.

Roadmap:

@clason
Copy link
Member Author

clason commented Jul 7, 2022

filetype.lua is now enabled by default (early adopters should make sure to remove vim.g.did_load_filetypes = 0 from their config!).

Huge shoutout to @smjonas and @kessejones for their diligent and patient efforts in porting all the complicated filetype patterns and detection functions and dealing with the edge cases that kept popping up! 🎉

@clason clason closed this as completed Jul 7, 2022
@ignamartinoli
Copy link

Can I remove g.do_filetype_lua = 1 too?

@clason
Copy link
Member Author

clason commented Jul 8, 2022

Yes (it's ignored, though, so you don't have to, unlike g:did_load_filetypes).

@ignamartinoli
Copy link

Thanks! And congrats for the achievement to all involved, I came back daily to this post to see its progress

@neovim neovim locked as resolved and limited conversation to collaborators Jul 8, 2022
@clason
Copy link
Member Author

clason commented Jul 8, 2022

For those coming here from Twitter (and not subscribed to the "Following HEAD" issue): If you were using filetype.lua before, you now must remove g:did_load_filetypes = 0 from your init.vim (which again follows upstream use to disable all filetype detection).

@zeertzjq zeertzjq modified the milestones: 0.9, 0.8 Aug 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement feature request filetype filetype detection, filetype.lua lua stdlib
Projects
None yet
Development

No branches or pull requests

4 participants