aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <cody@hiar.ca>2023-07-25 09:59:23 -0600
committerCody Hiar <cody@hiar.ca>2023-07-25 09:59:23 -0600
commit842f8d66b5c0947e97c66f7e4ae18c9fd98f297f (patch)
treec18d4765169c1a324c46650b35446f028a9058c5
parentb34e836db410e311a83ee4d5a86f943b0ae004d3 (diff)
Fix *.tfvars erroring
-rw-r--r--flake.lock6
-rw-r--r--init.lua3
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