Closed ranjithshegde closed 2 years ago
@ranjithshegde Thanks for this, looks good! Would we also need to check g:do_filetype_lua
to be true apart from nvim version >= 0.7? I just updated to 0.7 this morning so I haven't had a chance to test the new filetype detection yet.
Good catch! I forgot about that. Yes I will add that check and push, later this evening
@davidgranstrom this should do it?
@ranjithshegde Thanks for your patience. Looks good, let's merge this!
This PR uses the latest lua API for ftdetect operations. There is a conditional to verify if nvim is 0.7 or not to apply the usage