summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua47
1 files changed, 47 insertions, 0 deletions
diff --git a/init.lua b/init.lua
new file mode 100644
index 0000000..cf168c4
--- /dev/null
+++ b/init.lua
@@ -0,0 +1,47 @@
+vim.g.mapleader = " "
+
+local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
+if not vim.loop.fs_stat(lazypath) then
+ vim.fn.system({
+ "git",
+ "clone",
+ "--filter=blob:none",
+ "https://github.com/folke/lazy.nvim.git",
+ "--branch=stable", -- latest stable release
+ lazypath,
+ })
+end
+vim.opt.rtp:prepend(lazypath)
+require("lazy").setup("plugins")
+
+require("vim-stuff")
+
+vim.filetype.add({
+ extension = {
+ tfvars = "terraform",
+ },
+})
+vim.g.mapleader = " "
+
+-- Terraform
+vim.filetype.add({
+ extension = {
+ tfvars = "terraform",
+ },
+})
+
+local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
+if not vim.loop.fs_stat(lazypath) then
+ vim.fn.system({
+ "git",
+ "clone",
+ "--filter=blob:none",
+ "https://github.com/folke/lazy.nvim.git",
+ "--branch=stable", -- latest stable release
+ lazypath,
+ })
+end
+vim.opt.rtp:prepend(lazypath)
+require("lazy").setup("plugins")
+
+require("vim-stuff")