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
|
||||
|
||||
# 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
|
||||
require("nvchad.configs.lspconfig").defaults()
|
||||
local lspconfig = require "lspconfig"
|
||||
|
||||
-- lsp servers
|
||||
local servers = { "html", "cssls", "clangd", "ts_ls" }
|
||||
local nvlsp = require "nvchad.configs.lspconfig"
|
||||
|
||||
-- default config
|
||||
for _, lsp in ipairs(servers) do
|
||||
lspconfig[lsp].setup {
|
||||
on_attach = nvlsp.on_attach,
|
||||
on_init = nvlsp.on_init,
|
||||
capabilities = nvlsp.capabilities,
|
||||
local servers = {
|
||||
html = {},
|
||||
cssld = {},
|
||||
clangd = {},
|
||||
ts_ls = {},
|
||||
}
|
||||
|
||||
for name, opts in pairs(servers) do
|
||||
vim.lsp.enable(name)
|
||||
vim.lsp.config(name, opts)
|
||||
end
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@ return {
|
|||
-- Tools for flutter
|
||||
{
|
||||
"akinsho/flutter-tools.nvim",
|
||||
lazy = false,
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"stevearc/dressing.nvim",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue