aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2026-06-18 15:43:12 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2026-06-18 15:43:12 +0530
commit47d419e46aea94a1fee788003a27770eab11329c (patch)
tree8fc090d2f46a403a48ca389321a1e82978721d00 /nvim/lua
parente8e5ed4f7e684ee38a5f20162053e68f2911ff1e (diff)
custom made my nvim config
Diffstat (limited to 'nvim/lua')
-rw-r--r--nvim/lua/autocmds.lua1
-rw-r--r--nvim/lua/chadrc.lua24
-rw-r--r--nvim/lua/configs/conform.lua15
-rw-r--r--nvim/lua/configs/lazy.lua47
-rw-r--r--nvim/lua/configs/lspconfig.lua26
-rw-r--r--nvim/lua/mappings.lua9
-rw-r--r--nvim/lua/options.lua10
-rw-r--r--nvim/lua/plugins/init.lua50
8 files changed, 0 insertions, 182 deletions
diff --git a/nvim/lua/autocmds.lua b/nvim/lua/autocmds.lua
deleted file mode 100644
index d2db0bb..0000000
--- a/nvim/lua/autocmds.lua
+++ /dev/null
@@ -1 +0,0 @@
-require "nvchad.autocmds"
diff --git a/nvim/lua/chadrc.lua b/nvim/lua/chadrc.lua
deleted file mode 100644
index fb1b09b..0000000
--- a/nvim/lua/chadrc.lua
+++ /dev/null
@@ -1,24 +0,0 @@
--- This file needs to have same structure as nvconfig.lua
--- https://github.com/NvChad/ui/blob/v3.0/lua/nvconfig.lua
--- Please read that file to know all available options :(
-
----@type ChadrcConfig
-local M = {}
-
-M.base46 = {
- theme = "gruvchad",
-
- -- hl_override = {
- -- Comment = { italic = true },
- -- ["@comment"] = { italic = true },
- -- },
-}
-
--- M.nvdash = { load_on_startup = true }
--- M.ui = {
--- tabufline = {
--- lazyload = false
--- }
---}
-
-return M
diff --git a/nvim/lua/configs/conform.lua b/nvim/lua/configs/conform.lua
deleted file mode 100644
index 35ba6cf..0000000
--- a/nvim/lua/configs/conform.lua
+++ /dev/null
@@ -1,15 +0,0 @@
-local options = {
- formatters_by_ft = {
- lua = { "stylua" },
- -- css = { "prettier" },
- -- html = { "prettier" },
- },
-
- -- format_on_save = {
- -- -- These options will be passed to conform.format()
- -- timeout_ms = 500,
- -- lsp_fallback = true,
- -- },
-}
-
-return options
diff --git a/nvim/lua/configs/lazy.lua b/nvim/lua/configs/lazy.lua
deleted file mode 100644
index cd170bd..0000000
--- a/nvim/lua/configs/lazy.lua
+++ /dev/null
@@ -1,47 +0,0 @@
-return {
- defaults = { lazy = true },
- install = { colorscheme = { "nvchad" } },
-
- ui = {
- icons = {
- ft = "",
- lazy = "󰂠 ",
- loaded = "",
- not_loaded = "",
- },
- },
-
- performance = {
- rtp = {
- disabled_plugins = {
- "2html_plugin",
- "tohtml",
- "getscript",
- "getscriptPlugin",
- "gzip",
- "logipat",
- "netrw",
- "netrwPlugin",
- "netrwSettings",
- "netrwFileHandlers",
- "matchit",
- "tar",
- "tarPlugin",
- "rrhelper",
- "spellfile_plugin",
- "vimball",
- "vimballPlugin",
- "zip",
- "zipPlugin",
- "tutor",
- "rplugin",
- "syntax",
- "synmenu",
- "optwin",
- "compiler",
- "bugreport",
- "ftplugin",
- },
- },
- },
-}
diff --git a/nvim/lua/configs/lspconfig.lua b/nvim/lua/configs/lspconfig.lua
deleted file mode 100644
index d89bd10..0000000
--- a/nvim/lua/configs/lspconfig.lua
+++ /dev/null
@@ -1,26 +0,0 @@
-require("nvchad.configs.lspconfig").defaults()
-
--- NOTE: DO NOT USE MASON TO INSTALL LSPs, THEY CONFLICT WITH THESE, IF YOU
--- HAVE ANY INSTALLED, REMOVE THEM
-local servers = {
- "html", "cssls", "rust_analyzer", "zls",
- "ts_ls", "pylsp"
-}
-vim.lsp.enable(servers)
-
-vim.lsp.config("clangd", {
- cmd = {
- "clangd",
- "--query-driver=/run/current-system/sw/bin/arm-none-eabi-gcc",
- },
-})
-
-
-
-vim.lsp.config("gdscript", {
- cmd = { "ncat", "localhost", "6005" },
- filetypes = { "gd", "gdscript", "gdscript3" },
-})
-
-vim.lsp.enable("clangd")
-vim.lsp.enable("gdscript")
diff --git a/nvim/lua/mappings.lua b/nvim/lua/mappings.lua
deleted file mode 100644
index 318473c..0000000
--- a/nvim/lua/mappings.lua
+++ /dev/null
@@ -1,9 +0,0 @@
-require "nvchad.mappings"
-
-local map = vim.keymap.set
-local unmap = vim.keymap.del
-
-map("n", ";", ":", { desc = "CMD enter command mode" })
-map({ "n", "i", "v" }, "<C-s>", "<cmd> w <cr>")
-map({ "n", "v" }, "<C-f>", ":%s/")
-map("n", "<leader>n", "<cmd>NvimTreeToggle<cr>", { desc = "Toggle file tree" })
diff --git a/nvim/lua/options.lua b/nvim/lua/options.lua
deleted file mode 100644
index b50a463..0000000
--- a/nvim/lua/options.lua
+++ /dev/null
@@ -1,10 +0,0 @@
-require "nvchad.options"
-
--- add yours here!
-vim.opt.wrap = false
-vim.opt.spell = true
-vim.opt.spelllang = { "en" }
-vim.opt.colorcolumn = "80"
-
--- local o = vim.o
--- o.cursorlineopt ='both' -- to enable cursorline!
diff --git a/nvim/lua/plugins/init.lua b/nvim/lua/plugins/init.lua
deleted file mode 100644
index 7ed8f4b..0000000
--- a/nvim/lua/plugins/init.lua
+++ /dev/null
@@ -1,50 +0,0 @@
-return {
- {
- "stevearc/conform.nvim",
- -- event = 'BufWritePre', -- uncomment for format on save
- opts = require "configs.conform",
- },
-
- -- These are some examples, uncomment them if you want to see them work!
- {
- "neovim/nvim-lspconfig",
- config = function()
- require "configs.lspconfig"
- end,
- },
-
- {
- "mbbill/undotree",
- event = "BufReadPost",
- config = function()
- vim.keymap.set("n", "<leader>u", vim.cmd.UndotreeToggle, { desc = "Toggle UndoTree" })
- end,
- },
-
- -- test new blink
- -- { import = "nvchad.blink.lazyspec" },
-
- {
- "nvim-treesitter/nvim-treesitter",
- opts = {
- ensure_installed = {
- "vim", "lua", "vimdoc",
- "html", "css", "elixir", "rust"
- },
- },
- },
-
- {
- "christoomey/vim-tmux-navigator",
- lazy = false,
- },
-
- {
- "nvim-tree/nvim-tree.lua",
- opts = {
- view = {
- side = "left"
- }
- }
- },
-}