From bbe279675da8e30d12bd5fd8efaba24d3886839d Mon Sep 17 00:00:00 2001 From: siduck Date: Thu, 3 Oct 2024 09:59:19 +0530 Subject: [PATCH] update features doc --- src/routes/docs/features.mdx | 63 +++++++++++++++++++++++++++++------- src/routes/news/nvui.mdx | 8 +++-- 2 files changed, 57 insertions(+), 14 deletions(-) diff --git a/src/routes/docs/features.mdx b/src/routes/docs/features.mdx index f5636f37..b23ba730 100644 --- a/src/routes/docs/features.mdx +++ b/src/routes/docs/features.mdx @@ -29,8 +29,9 @@ export const meta = { - A theme switcher with telescope.nvim that reloads themes on the fly using the base46 plugin + plenary.nvim. -
- + +
+
## Statusline @@ -72,7 +73,7 @@ export const meta = { - Nvdash is NvChad's minimal dashboard module, It's very simple at this stage and will get more features in the future! - Command to run it `Nvdash`, its disabled on startup, check the nvconfig.lua for its syntax and override it from chadrc. -![nvdash](/features/nvdash.webp) +![nvdash](https://github.com/user-attachments/assets/072c8733-8a44-4cf3-8732-e5fa7eb9459e) ## NvCheatsheet @@ -87,6 +88,54 @@ export const meta = {
+## Colorify + +- Colors hex color on buffer and lsp colors on the buffer, like tailwind etc + +![image](https://github.com/user-attachments/assets/c5f3dc55-7810-48ae-879e-25453ab16b71) + +## Lsp Signature + +- Minimal signature window ( [50 LOC ~](https://github.com/NvChad/ui/blob/v3.0/lua/nvchad/lsp/signature.lua)), just uses `vim.lsp.buf.signature_help` on some autocmds. + +![image](https://github.com/user-attachments/assets/b2db5cd1-a81b-41a7-a132-7d2dc15edf39) + +## Lsp Variable Renamer + +- Used for renaming + +![image](https://github.com/user-attachments/assets/c90c1de4-3f42-4bc4-9392-766ca989e4ea) + +## Nvim-cmp styling + +- [`nvim-cmp`](https://github.com/hrsh7th/nvim-cmp) is a completion plugin for Neovim coded in Lua. +- Below are some cmp styles in nvchad + +![image](https://github.com/user-attachments/assets/661bbc0f-7073-4b4c-81cb-7cf035e29d6f) +![image](https://github.com/user-attachments/assets/0557e479-2735-4a86-b23a-eafa540ab4a5) +![image](https://github.com/user-attachments/assets/5b445b45-4802-4851-a8a4-1de051d58ade) +![image](https://github.com/user-attachments/assets/3fdbbaa7-a212-499a-a291-0609c72b6f96) +![image](https://github.com/user-attachments/assets/28775c0c-ce85-45cd-8c76-bdd97344f5b4) +![image](https://github.com/user-attachments/assets/c44e405b-f0f1-4c56-ae58-85c49b9616a0) +![image](https://github.com/user-attachments/assets/57e88886-7c95-4e77-a252-2021160cd274) + +## Automating Mason installation + +- MasonInstallAll command will now capture all the mason tools from your config +- Supported plugins are : lspconfig, nvim-lint, conform.nvim + +- So for example if you have lspconfig like this : + +```lua +require("lspconfig").html.setup{} +require("lspconfig").clangd.setup{} +``` +
+ +Then running MasonInstallAll will install both the mason pkgs + +check `:h nvui.mason` for more info + # General Neovim plugins - These plugins aren't related to nvchad, we just tweak them a bit and theme the UI related ones. @@ -104,14 +153,6 @@ export const meta = { ![nvim tree](https://raw.githubusercontent.com/siduck/dotfiles/all/rice%20flex/nvimtree.png) - -## Nvim-cmp - -- [`nvim-cmp`](https://github.com/hrsh7th/nvim-cmp) is a completion plugin for Neovim coded in Lua. -- Below are some cmp styles in nvchad - -![nvim-cmp](/features/cmp.webp) - - Note that that's just the cmp look in everblush theme, there are more 57 themes! You can hide cmp icons, cmpkind txt etc from the user config ( chadrc ) itself! ## Auto-completion & LSP diff --git a/src/routes/news/nvui.mdx b/src/routes/news/nvui.mdx index 7858fd0c..7959a331 100644 --- a/src/routes/news/nvui.mdx +++ b/src/routes/news/nvui.mdx @@ -66,6 +66,10 @@ Note: These are changelogs for entire of NvChad. ![image](https://github.com/user-attachments/assets/897e46f1-9ae2-4cc2-8fa2-64eff40a90dd) +
+ +
+ ## TailwindCSS & CSS Lsp in Cmp - Read `:h nvui.cmp` to enable it @@ -93,12 +97,10 @@ M.nvdash = { ... }
Check the syntax of buttons in [nvconfig file](https://github.com/NvChad/ui/blob/v3.0/lua/nvconfig.lua#L61) - -## Automatic Mason installation +## Automatic Mason install - MasonInstallAll command will now capture all the mason tools from your config - Supported plugins are : lspconfig, nvim-lint, conform.nvim - - So for example if you have lspconfig like this : ```lua