mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 19:46:58 -04:00
fix: resolve .hx extension conflict with Haxe
Neovim's built-in filetype detection maps .hx to 'haxe', which caused the test framework to attempt loading haxe.so instead of helixql.so. Changes: - Renamed test file from test.hx to test.helixql - Added vim modeline to ensure correct filetype detection - Removed helixql filetype mapping (not needed and doesn't override Neovim's built-in detection anyway)
This commit is contained in:
parent
e33465283f
commit
1cdd2c32f9
2 changed files with 2 additions and 1 deletions
|
|
@ -20,7 +20,6 @@ local filetypes = {
|
|||
godot_resource = { 'gdresource' },
|
||||
haskell = { 'hs' },
|
||||
haskell_persistent = { 'haskellpersistent' },
|
||||
helixql = { 'hx' },
|
||||
idris = { 'idris2' },
|
||||
ini = { 'confini', 'dosini' },
|
||||
janet_simple = { 'janet' },
|
||||
|
|
|
|||
|
|
@ -120,3 +120,5 @@ QUERY testLiterals() =>
|
|||
b <- true
|
||||
// ^ @boolean
|
||||
RETURN NONE
|
||||
|
||||
// vim: set filetype=helixql:
|
||||
Loading…
Add table
Add a link
Reference in a new issue