diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-05-18 21:39:58 +0200 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-05-18 21:46:58 +0200 |
| commit | 0c37d2073fe94d24b06fd179b601f765e1f85ad2 (patch) | |
| tree | d149d3d49dd5bd286ff1b942fc5d2fa334372e67 | |
| parent | 54861a5b7837475dbf16a747740b73253a4a3a2d (diff) | |
| download | dotfiles-0c37d2073fe94d24b06fd179b601f765e1f85ad2.tar.gz dotfiles-0c37d2073fe94d24b06fd179b601f765e1f85ad2.zip | |
misc: fix comments and typos
| -rw-r--r-- | .config/nvim/after/ftplugin/lua.lua | 2 | ||||
| -rw-r--r-- | .config/nvim/plugin/50-completion.lua | 2 | ||||
| -rw-r--r-- | .config/nvim/plugin/50-highlight.lua | 2 | ||||
| -rw-r--r-- | .config/nvim/plugin/50-lsp.lua | 2 | ||||
| -rw-r--r-- | .config/nvim/plugin/50-netrw.lua | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/.config/nvim/after/ftplugin/lua.lua b/.config/nvim/after/ftplugin/lua.lua index 784915e..eb74daa 100644 --- a/.config/nvim/after/ftplugin/lua.lua +++ b/.config/nvim/after/ftplugin/lua.lua @@ -27,7 +27,7 @@ local function format() end vim.opt_local.textwidth = 120 -- gw wraps at this value -vim.opt_local.colorcolumn = "+1" -- Highlight one column after +vim.opt_local.colorcolumn = "+1" -- Highlight one column after 'textwidth' vim.opt_local.complete = { "o", -- 'omnifunc' } diff --git a/.config/nvim/plugin/50-completion.lua b/.config/nvim/plugin/50-completion.lua index 94b4cbb..919f395 100644 --- a/.config/nvim/plugin/50-completion.lua +++ b/.config/nvim/plugin/50-completion.lua @@ -12,7 +12,7 @@ vim.opt.completeopt = { "noselect", -- No item selected initially "fuzzy", "menuone", -- Show matches in a menu, even if there's only one match - "popup", -- Menu items show extra ingo in the popup window + "popup", -- Menu items show extra info in the popup window "preview", -- Show extra info in the preview window } -- Completion sources (in order of priority) diff --git a/.config/nvim/plugin/50-highlight.lua b/.config/nvim/plugin/50-highlight.lua index 0e8fb97..022c916 100644 --- a/.config/nvim/plugin/50-highlight.lua +++ b/.config/nvim/plugin/50-highlight.lua @@ -1,5 +1,5 @@ -- --- Custom highlighting plugin (in `after/` to that the autocommand in `treesitter/init.lua` can be set first in order) +-- Custom highlighting plugin -- -- Returns an iterator over the ascendants of `node`, starting at the root node diff --git a/.config/nvim/plugin/50-lsp.lua b/.config/nvim/plugin/50-lsp.lua index de86ecd..938cc64 100644 --- a/.config/nvim/plugin/50-lsp.lua +++ b/.config/nvim/plugin/50-lsp.lua @@ -13,7 +13,7 @@ end vim.pack.add({ "https://github.com/neovim/nvim-lspconfig" }) -vim.api.nvim_create_user_command("LspInspect", inspect_lsp, { desc = "Inpsect LSP client" }) +vim.api.nvim_create_user_command("LspInspect", inspect_lsp, { desc = "Inspect LSP client" }) -- Enable LSP server capabilities if available when attaching, see `:help lsp-attach` vim.api.nvim_create_autocmd("LspAttach", { diff --git a/.config/nvim/plugin/50-netrw.lua b/.config/nvim/plugin/50-netrw.lua index 4fdbfa6..f4787cd 100644 --- a/.config/nvim/plugin/50-netrw.lua +++ b/.config/nvim/plugin/50-netrw.lua @@ -19,7 +19,7 @@ local function explore() end vim.g.netrw_liststyle = 3 -- 3: list style -vim.g.netrw_winsize = -30 -- 30 colums wide +vim.g.netrw_winsize = -30 -- 30 columns wide vim.g.netrw_banner = 0 -- No banner vim.api.nvim_create_user_command("GotoExplorer", explore, { desc = "Open/close/focus netrw window" }) |
