From 842f8d66b5c0947e97c66f7e4ae18c9fd98f297f Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Tue, 25 Jul 2023 09:59:23 -0600 Subject: Fix *.tfvars erroring --- flake.lock | 6 +++--- init.lua | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index c516da4..dc7da11 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1687898314, - "narHash": "sha256-B4BHon3uMXQw8ZdbwxRK1BmxVOGBV4viipKpGaIlGwk=", + "lastModified": 1690179384, + "narHash": "sha256-+arbgqFTAtoeKtepW9wCnA0njCOyoiDFyl0Q0SBSOtE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "e18dc963075ed115afb3e312b64643bf8fd4b474", + "rev": "b12803b6d90e2e583429bb79b859ca53c348b39a", "type": "github" }, "original": { diff --git a/init.lua b/init.lua index c8a1927..c191507 100644 --- a/init.lua +++ b/init.lua @@ -42,7 +42,10 @@ autocmd Filetype htmldjango setlocal ts=2 sw=2 sts=0 expandtab autocmd BufNewFile,BufRead *.nomad setfiletype hcl autocmd BufNewFile,BufRead *.yaml setfiletype yaml.ansible autocmd BufNewFile,BufRead *.yml setfiletype yaml.ansible +autocmd BufNewFile,BufRead *.tfvars setfiletype terraform ]] +-- https://github.com/neovim/nvim-lspconfig/issues/2685#issuecomment-1623575758 +-- ^ for the tfvars to terraform above vim.o.relativenumber = true -- Distable word wrap vim.o.wrap = false -- cgit v1.2.3