aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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