I saw your tweet and tried to implement this Tree Sitter module, but somehow it doesn't parse the HCL files. Tried with Terraform .tf
and Nomad .nomad
, but no luck.
NVIM v0.5.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -g -O2 -fdebug-prefix-map=/build/neovim-eimZbm/neovim-0.5.0+ubuntu2+git202106210023-b585f723b-d569569c9=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unus
ed-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_F
ROM -DMIN_LOG_LEVEL=3 -I/build/neovim-eimZbm/neovim-0.5.0+ubuntu2+git202106210023-b585f723b-d569569c9/build/config -I/build/neovim-eimZbm/neovim-0.5.0+ubuntu2+git202106210023-b585f723b-d569569c9/src -I/build/neovim-eimZbm/neovim-0.5.0+ubuntu2+git202106210023-b585f723b-d5695
69c9/.deps/usr/include -I/usr/include -I/build/neovim-eimZbm/neovim-0.5.0+ubuntu2+git202106210023-b585f723b-d569569c9/build/src/nvim/auto -I/build/neovim-eimZbm/neovim-0.5.0+ubuntu2+git202106210023-b585f723b-d569569c9/build/include
Compiled by buildd@lcy01-amd64-011
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
hcl [✓] installed
>> default highlight incremental_selection indent
hcl ✗ ✗ ✗
toml ✓ ✗ ✗
Here is my TSConfigInfo:
{
ensure_installed = {},
ignore_install = {},
modules = {
highlight = {
additional_vim_regex_highlighting = false,
custom_captures = {},
disable = { "markdown" },
enable = true,
loaded = true,
module_path = "nvim-treesitter.highlight"
},
incremental_selection = {
disable = {},
enable = false,
keymaps = {
init_selection = "gnn",
node_decremental = "grm",
node_incremental = "grn",
scope_incremental = "grc"
},
module_path = "nvim-treesitter.incremental_selection"
},
indent = {
disable = {},
enable = false,
module_path = "nvim-treesitter.indent"
}
},
update_strategy = "lockfile"
}