From fb1977df937127f63728f90702920aeaf7bce35f Mon Sep 17 00:00:00 2001 From: root Date: Wed, 25 Jun 2025 18:25:08 +0000 Subject: init commit --- init.lua | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 init.lua (limited to 'init.lua') 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") -- cgit v1.2.3