started working on doc
This commit is contained in:
parent
e6b5aa5900
commit
eaf6e0d084
3 changed files with 40 additions and 12 deletions
31
README.md
31
README.md
|
|
@ -2,3 +2,34 @@
|
||||||
|
|
||||||
based on chadrc
|
based on chadrc
|
||||||
|
|
||||||
|
# Plugins
|
||||||
|
|
||||||
|
## System
|
||||||
|
|
||||||
|
**nvim-lua/plenary** (nvchad)
|
||||||
|
*Multiple commands for interacting with neovim*
|
||||||
|
|
||||||
|
**nvchad/base64** (nvchad)
|
||||||
|
*Theme engine by nvChad*
|
||||||
|
|
||||||
|
**nvchad/ui** (nvchad)
|
||||||
|
*UI by nvChad*
|
||||||
|
|
||||||
|
**nvzone/volt** (nvchad)
|
||||||
|
*Creating reactive UIs*
|
||||||
|
|
||||||
|
**nvzone/menu** (nvchad)
|
||||||
|
*Creating menus for neovim*
|
||||||
|
|
||||||
|
**nvzone/minty** (nvchad)
|
||||||
|
*Color selector*
|
||||||
|
|
||||||
|
**nvim-tree/nvim-web-devicons** (nvchad)
|
||||||
|
*Provides NerdFont icons*
|
||||||
|
|
||||||
|
## UI Helpers
|
||||||
|
|
||||||
|
**lukas-reineke/indent-blankline** (nvchad/me)
|
||||||
|
*Indentation readability helper*
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,14 @@
|
||||||
-- load defaults i.e lua_lsp
|
-- load defaults i.e lua_lsp
|
||||||
require("nvchad.configs.lspconfig").defaults()
|
require("nvchad.configs.lspconfig").defaults()
|
||||||
local lspconfig = require "lspconfig"
|
|
||||||
|
|
||||||
-- lsp servers
|
local servers = {
|
||||||
local servers = { "html", "cssls", "clangd", "ts_ls" }
|
html = {},
|
||||||
local nvlsp = require "nvchad.configs.lspconfig"
|
cssld = {},
|
||||||
|
clangd = {},
|
||||||
-- default config
|
ts_ls = {},
|
||||||
for _, lsp in ipairs(servers) do
|
|
||||||
lspconfig[lsp].setup {
|
|
||||||
on_attach = nvlsp.on_attach,
|
|
||||||
on_init = nvlsp.on_init,
|
|
||||||
capabilities = nvlsp.capabilities,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for name, opts in pairs(servers) do
|
||||||
|
vim.lsp.enable(name)
|
||||||
|
vim.lsp.config(name, opts)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,6 @@ return {
|
||||||
-- Tools for flutter
|
-- Tools for flutter
|
||||||
{
|
{
|
||||||
"akinsho/flutter-tools.nvim",
|
"akinsho/flutter-tools.nvim",
|
||||||
lazy = false,
|
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"nvim-lua/plenary.nvim",
|
"nvim-lua/plenary.nvim",
|
||||||
"stevearc/dressing.nvim",
|
"stevearc/dressing.nvim",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue