jvirtanen / vim-hcl Goto Github PK
View Code? Open in Web Editor NEWSyntax highlighting for HashiCorp Configuration Language (HCL)
Syntax highlighting for HashiCorp Configuration Language (HCL)
I have coc.nvim
LSP setup for terraform which is triggered when filetype=terraform
or filetype=tf
But this plugin sets filetype=hcl
for *.tf
files
To have this plugin working with both LSP and hcl syntax I have this in my config
au BufNewFile,BufRead *.tf set ft=tf
au BufNewFile,BufRead *.tfvars set ft=tf
au Filetype tf set syntax=hcl
I could've created PR with this fix, but I am not sure that this is the right way to do this
However, they will work if I manually run:
set syntax=hcl
OR
set ft=hc
Looking at ftdetect/hcl.vim
, shouldn't files with ft=nomad
be set to hcl syntax? Or am I missing something?
Thanks!
Hello,
I installed your plugin in vim through vundle. It seems to be correctly installed. However the highlighting is not enable when I open an hcl file.
My version of vim is: 8.1.2269
.
I have also hashivim/vim-terraform
and hashivim/vim-packer
installed. I don't know if there is some conflicts here ...
Do you have any ideas where the issue is ?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.