]> git.localhorst.tv Git - nvim-config.git/commitdiff
feat: initial commit
authorFolke Lemaitre <folke.lemaitre@gmail.com>
Sat, 7 Jan 2023 09:20:36 +0000 (10:20 +0100)
committerFolke Lemaitre <folke.lemaitre@gmail.com>
Sat, 7 Jan 2023 09:20:36 +0000 (10:20 +0100)
.gitignore [new file with mode: 0644]
.neoconf.json [new file with mode: 0644]
init.lua [new file with mode: 0644]
lua/config/lazy.lua [new file with mode: 0644]
stylua.toml [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..cc5457a
--- /dev/null
@@ -0,0 +1,8 @@
+tt.*
+.tests
+doc/tags
+debug
+.repro
+foo.*
+*.log
+data
diff --git a/.neoconf.json b/.neoconf.json
new file mode 100644 (file)
index 0000000..aa1b504
--- /dev/null
@@ -0,0 +1,15 @@
+{
+  "neodev": {
+    "library": {
+      "enabled": true,
+      "plugins": true
+    }
+  },
+  "neoconf": {
+    "plugins": {
+      "sumneko_lua": {
+        "enabled": true
+      }
+    }
+  }
+}
diff --git a/init.lua b/init.lua
new file mode 100644 (file)
index 0000000..55b8979
--- /dev/null
+++ b/init.lua
@@ -0,0 +1 @@
+require("config.lazy")
diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua
new file mode 100644 (file)
index 0000000..2e00452
--- /dev/null
@@ -0,0 +1,36 @@
+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",
+    lazypath,
+  })
+end
+vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
+
+require("lazy").setup({
+  spec = {
+    { "LazyVim/LazyVim", import = "lazyvim.plugins" },
+    { import = "plugins" },
+  },
+  defaults = { lazy = true },
+  install = { colorscheme = { "tokyonight", "habamax" } },
+  checker = { enabled = true },
+  performance = {
+    rtp = {
+      disabled_plugins = {
+        "gzip",
+        "matchit",
+        "matchparen",
+        "netrwPlugin",
+        "tarPlugin",
+        "tohtml",
+        "tutor",
+        "zipPlugin",
+      },
+    },
+  },
+})
diff --git a/stylua.toml b/stylua.toml
new file mode 100644 (file)
index 0000000..5d6c50d
--- /dev/null
@@ -0,0 +1,3 @@
+indent_type = "Spaces"
+indent_width = 2
+column_width = 120
\ No newline at end of file