From 02740008809b96723bcf67da47d8178ff7658f18 Mon Sep 17 00:00:00 2001 From: Anthony Cicchetti Date: Mon, 21 Nov 2022 09:13:52 -0500 Subject: [PATCH] Terraform syntax highlighting --- nvim/fnl/config/plugin.fnl | 5 ++--- nvim/fnl/config/plugin/vim-terraform.fnl | 4 ++++ 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 nvim/fnl/config/plugin/vim-terraform.fnl diff --git a/nvim/fnl/config/plugin.fnl b/nvim/fnl/config/plugin.fnl index 200a382..9c9c0aa 100644 --- a/nvim/fnl/config/plugin.fnl +++ b/nvim/fnl/config/plugin.fnl @@ -50,10 +50,8 @@ ;; TODO CONFIGURE :nvim-treesitter/nvim-treesitter {:mod :treesitter :event ["BufEnter"] :run ":TSUpdate"} - "https://git.sr.ht/~p00f/nvim-ts-rainbow" {:requires [[:nvim-treesitter/nvim-treesitter]]} - ;; TODO CONFIGURE :datwaft/bubbly.nvim {:mod :bubbly} :tpope/vim-fugitive {:mod :fugitive} @@ -62,4 +60,5 @@ :tpope/vim-commentary {} :mbbill/undotree {} :folke/which-key.nvim {:mod :which-key} - :airblade/vim-rooter {}) + :airblade/vim-rooter {} + :hashivim/vim-terraform {:mod :vim-terraform}) diff --git a/nvim/fnl/config/plugin/vim-terraform.fnl b/nvim/fnl/config/plugin/vim-terraform.fnl new file mode 100644 index 0000000..1764e04 --- /dev/null +++ b/nvim/fnl/config/plugin/vim-terraform.fnl @@ -0,0 +1,4 @@ +(module config.plugin.vim-terraform + {autoload {nvim aniseed.nvim}}) + +(set nvim.g.terraform_fmt_on_save "1")