From 40fefa86e673fa6dab8c99da879cac293553bda6 Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Wed, 6 Mar 2024 09:51:51 +0100 Subject: [PATCH] README housekeeping --- README.md | 88 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 45 insertions(+), 43 deletions(-) diff --git a/README.md b/README.md index 42c44cd..0a68811 100644 --- a/README.md +++ b/README.md @@ -26,63 +26,63 @@ More on the "why's" are explained [in my blog post](https://lugh.ch/neovim-lesso ## Speed Output from lazy.nvim profiling (`:Lazy profile`) on a MacBook Pro M2 Max, -macOS 14.0 (23A344). +macOS 14. ### Start and open init.lua -Around 25% of the plugins are lazy-loaded. +Around 20% of the plugins are lazy-loaded. ```bash -Startuptime: 100.58ms + Startuptime: 81.44ms Based on the actual CPU time of the Neovim process till UIEnter. This is more accurate than `nvim --startuptime`. - LazyStart 11.04ms - LazyDone 25.69ms (+14.65ms) - UIEnter 100.58ms (+74.89ms) + LazyStart 11.34ms + LazyDone 23.66ms (+12.32ms) + UIEnter 81.44ms (+57.78ms) ``` ### Starting with an empty file -Around 75% of the plugins are lazy-loaded. +Around 65% of the plugins are lazy-loaded. ```bash -Startuptime: 32.31ms +Startuptime: 35.89ms Based on the actual CPU time of the Neovim process till UIEnter. This is more accurate than `nvim --startuptime`. - LazyStart 10.71ms - LazyDone 25.36ms (+14.65ms) - UIEnter 32.31ms (+6.95ms) + LazyStart 11.55ms + LazyDone 24.74ms (+13.18ms) + UIEnter 35.89ms (+11.15ms) ``` ## Plugins -| Name | Purpose | URL | -| ------------------------------- | ------------------------------------------------------ | ---------------------------------------------------------------- | -| **lazy.nvim** | Package manager | | -| **telescope.nvim** | Find, Filter, Preview, Pick | | -| **telescope-fzf-native.nvim** | Fuzzy finder for Telescope | | -| **nvim-treesitter** | Parser/syntax highlighting | | -| **nvim-treesitter-context** | Shows current line context | | -| **nvim-treesitter-textobjects** | ? | | -| **oil.nvim** | file explorer, (bulk file creation/rename) | | -| **nightfox.nvim** | Theme with treesitter/lsp support | | -| **tokyonight.nvim** | Theme with treesitter/lsp support | | -| **lualine.nvim** | Status line | | -| **nvim-web-devicons** | filetype glyphs (icons) for plugins | | -| **gitsigns.nvim** | Git change indicator | | -| **which-key.nvim** | Shows contextual key bindings | | -| **indent-blankline.nvim** | Visual indentation guide | | -| **vim-illuminate** | Highlight similar words (w/ LSP, Treesitter, regex) | | -| **lsp-zero.nvim** | LSP for mere mortals | | -| **nvim-lspconfig** | Component of lsp-zero.nvim | | -| **cmp-nvim-lsp** | Dependency of lsp-zero.nvim | | -| **conform.nvim** | Formatter configuration, replacement for `null-ls` | | -| **mason.nvim** | Install/manage LSP/DAP servers, linters and formatters | | -| **mason-lspconfig.nvim** | Bridges mason.nvim with the lspconfig plugin | | -| **zen-mode.nvim** | Distraction-free coding for Neovim | | -| **twilight.nvim** | Dims inactive portions of the code you're editing | | +| Name | Purpose | URL | +| ------------------------------- | ----------------------------------------------------------------------- | ---------------------------------------------------------------- | +| **lazy.nvim** | Package manager | | +| **telescope.nvim** | Find, Filter, Preview, Pick | | +| **telescope-fzf-native.nvim** | Fuzzy finder for Telescope | | +| **nvim-treesitter** | Parser/syntax highlighting | | +| **nvim-treesitter-context** | Shows current line context | | +| **nvim-treesitter-textobjects** | ? | | +| **oil.nvim** | file explorer, (bulk file creation/rename) | | +| **nightfox.nvim** | Theme with treesitter/lsp support | | +| **tokyonight.nvim** | Theme with treesitter/lsp support | | +| **lualine.nvim** | Status line | | +| **nvim-web-devicons** | filetype glyphs (icons) for plugins | | +| **gitsigns.nvim** | Git change indicator | | +| **which-key.nvim** | Shows contextual key bindings | | +| **vim-illuminate** | Highlight similar words (w/ LSP, Treesitter, regex) | | +| **lsp-zero.nvim** | LSP for mere mortals | | +| **nvim-lspconfig** | Component of lsp-zero.nvim | | +| **cmp-nvim-lsp** | Dependency of lsp-zero.nvim | | +| **conform.nvim** | Formatter configuration, replacement for `null-ls` | | +| **mason.nvim** | Install/manage LSP/DAP servers, linters and formatters | | +| **mason-lspconfig.nvim** | Bridges mason.nvim with the lspconfig plugin | | +| **zen-mode.nvim** | Distraction-free coding for Neovim | | +| **twilight.nvim** | Dims inactive portions of the code you're editing | | +| **todo-comments.nvim** | Highlights `NOTE:`, `FIXME:` etc. and makes them findable via Telescope | | ## Looks @@ -96,13 +96,15 @@ This lists the LSPs/linter/formatters I consider ok for my use cases. Tools may support many more languages than I document in the "Language" column. The formatters installed here are used via `conform.nvim`. -| Type | Language | Name | Benefits | Issues | -| --------- | -------------- | ---------------- | ----------------------- | ------------------------- | -| LSP | Markdown | **marksman** | Autocompletes links | n/a | -| Linter | Ansible | **ansible-lint** | | yamllint vs. ansible-lint | -| Linter | YAML | **yamllint** | well, it's yamllint | yamllint vs. ansible-lint | -| Formatter | Markdown, YAML | **prettier** | Formats Markdown tables | n/a | -| Formatter | Lua | **stylua** | Formats Lua | n/a | +| Type | Language | Name | Benefits | Issues | +| --------- | -------------- | ---------------- | -------------------------- | ------------------------- | +| LSP | Markdown | **marksman** | Autocompletes links | n/a | +| LSP | Go | **gopls** | | n/a | +| LSP | Terraform | **terraform-ls** | | n/a | +| Linter | Ansible | **ansible-lint** | | yamllint vs. ansible-lint | +| Linter | YAML | **yamllint** | | yamllint vs. ansible-lint | +| Formatter | Markdown, YAML | **prettier** | Markdown table formatting! | n/a | +| Formatter | Lua | **stylua** | Formats Lua | n/a | ## Key bindings