.tf are converted to .hcl for treesitter

This commit is contained in:
Chris 2021-07-08 21:04:30 -04:00
parent 6dce1e950a
commit 6da71bab94

View file

@ -67,6 +67,11 @@ lv_utils.define_augroups {
{ "BufWritePost", "lv-config.lua", "lua require('lv-utils').reload_lv_config()" },
-- { "VimLeavePre", "*", "set title set titleold=" },
},
_solidity = {
{ "BufWinEnter", ".tf", "setlocal filetype=hcl" },
{ "BufRead", "*.tf", "setlocal filetype=hcl" },
{ "BufNewFile", "*.tf", "setlocal filetype=hcl" },
},
-- _solidity = {
-- {'BufWinEnter', '.sol', 'setlocal filetype=solidity'}, {'BufRead', '*.sol', 'setlocal filetype=solidity'},
-- {'BufNewFile', '*.sol', 'setlocal filetype=solidity'}