summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorroot <root@guest.guest>2025-06-25 18:25:08 +0000
committerroot <root@guest.guest>2025-06-25 18:25:08 +0000
commitfb1977df937127f63728f90702920aeaf7bce35f (patch)
treea18a3eba105f46a4ede0fbddfdfe655d5efe506f /init.lua
init commitHEADmaster
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")