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:
Ben Woodward 2025-12-12 17:55:41 +11:00
parent e33465283f
commit 1cdd2c32f9
2 changed files with 2 additions and 1 deletions

View file

@ -20,7 +20,6 @@ local filetypes = {
godot_resource = { 'gdresource' },
haskell = { 'hs' },
haskell_persistent = { 'haskellpersistent' },
helixql = { 'hx' },
idris = { 'idris2' },
ini = { 'confini', 'dosini' },
janet_simple = { 'janet' },

View file

@ -120,3 +120,5 @@ QUERY testLiterals() =>
b <- true
// ^ @boolean
RETURN NONE
// vim: set filetype=helixql: