diff --git a/nvim/init.lua b/nvim/.config/nvim/init.lua similarity index 100% rename from nvim/init.lua rename to nvim/.config/nvim/init.lua diff --git a/nvim/lazy-lock.json b/nvim/.config/nvim/lazy-lock.json similarity index 100% rename from nvim/lazy-lock.json rename to nvim/.config/nvim/lazy-lock.json diff --git a/nvim/lua/chadrc.lua b/nvim/.config/nvim/lua/chadrc.lua similarity index 100% rename from nvim/lua/chadrc.lua rename to nvim/.config/nvim/lua/chadrc.lua diff --git a/nvim/lua/configs/conform.lua b/nvim/.config/nvim/lua/configs/conform.lua similarity index 100% rename from nvim/lua/configs/conform.lua rename to nvim/.config/nvim/lua/configs/conform.lua diff --git a/nvim/lua/configs/lazy.lua b/nvim/.config/nvim/lua/configs/lazy.lua similarity index 100% rename from nvim/lua/configs/lazy.lua rename to nvim/.config/nvim/lua/configs/lazy.lua diff --git a/nvim/lua/configs/lspconfig.lua b/nvim/.config/nvim/lua/configs/lspconfig.lua similarity index 88% rename from nvim/lua/configs/lspconfig.lua rename to nvim/.config/nvim/lua/configs/lspconfig.lua index ece5e5d..e5f9e21 100644 --- a/nvim/lua/configs/lspconfig.lua +++ b/nvim/.config/nvim/lua/configs/lspconfig.lua @@ -4,7 +4,7 @@ require("nvchad.configs.lspconfig").defaults() local lspconfig = require "lspconfig" -- EXAMPLE -local servers = { "html", "cssls", "clangd", "pylsp" } +local servers = { "html", "cssls", "clangd", "pylsp", "rust_analyzer" } local nvlsp = require "nvchad.configs.lspconfig" -- lsps with default config diff --git a/nvim/lua/mappings.lua b/nvim/.config/nvim/lua/mappings.lua similarity index 100% rename from nvim/lua/mappings.lua rename to nvim/.config/nvim/lua/mappings.lua diff --git a/nvim/lua/options.lua b/nvim/.config/nvim/lua/options.lua similarity index 100% rename from nvim/lua/options.lua rename to nvim/.config/nvim/lua/options.lua diff --git a/nvim/lua/plugins/init.lua b/nvim/.config/nvim/lua/plugins/init.lua similarity index 100% rename from nvim/lua/plugins/init.lua rename to nvim/.config/nvim/lua/plugins/init.lua diff --git a/nvim/LICENSE b/nvim/LICENSE deleted file mode 100644 index fdddb29..0000000 --- a/nvim/LICENSE +++ /dev/null @@ -1,24 +0,0 @@ -This is free and unencumbered software released into the public domain. - -Anyone is free to copy, modify, publish, use, compile, sell, or -distribute this software, either in source code form or as a compiled -binary, for any purpose, commercial or non-commercial, and by any -means. - -In jurisdictions that recognize copyright laws, the author or authors -of this software dedicate any and all copyright interest in the -software to the public domain. We make this dedication for the benefit -of the public at large and to the detriment of our heirs and -successors. We intend this dedication to be an overt act of -relinquishment in perpetuity of all present and future rights to this -software under copyright law. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR -OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - -For more information, please refer to diff --git a/nvim/README.md b/nvim/README.md deleted file mode 100644 index dc0deaa..0000000 --- a/nvim/README.md +++ /dev/null @@ -1,9 +0,0 @@ -**This repo is supposed to used as config by NvChad users!** - -- The main nvchad repo (NvChad/NvChad) is used as a plugin by this repo. -- So you just import its modules , like `require "nvchad.options" , require "nvchad.mappings"` -- So you can delete the .git from this repo ( when you clone it locally ) or fork it :) - -# Credits - -1) Lazyvim starter https://github.com/LazyVim/starter as nvchad's starter was inspired by Lazyvim's . It made a lot of things easier!