diff options
author | Damjan 9000 <damjan.9000@gmail.com> | 2024-03-01 23:11:08 +0100 |
---|---|---|
committer | Damjan 9000 <damjan.9000@gmail.com> | 2024-03-01 23:11:08 +0100 |
commit | df166c3b8b075a3444dd88215320aa7fbaa55ed5 (patch) | |
tree | 112db3241a2cde7fbc7f0837a2f1ab5d302fa8f9 /lua | |
parent | b650582c60755e3ade2866665f710f07e91022de (diff) | |
parent | 94a93643ab76f92435de2db21a41f6476894f8b3 (diff) |
Merge 'upstream/master' chore: fix typos
Diffstat (limited to 'lua')
-rw-r--r-- | lua/keymaps.lua | 2 | ||||
-rw-r--r-- | lua/kickstart/plugins/lspconfig.lua | 2 | ||||
-rw-r--r-- | lua/kickstart/plugins/mini.lua | 4 | ||||
-rw-r--r-- | lua/kickstart/plugins/treesitter.lua | 2 | ||||
-rw-r--r-- | lua/kickstart/plugins/which-key.lua | 2 | ||||
-rw-r--r-- | lua/lazy-plugins.lua | 2 | ||||
-rw-r--r-- | lua/options.lua | 4 |
7 files changed, 9 insertions, 9 deletions
diff --git a/lua/keymaps.lua b/lua/keymaps.lua index d022dd2..c6c87b1 100644 --- a/lua/keymaps.lua +++ b/lua/keymaps.lua @@ -35,7 +35,7 @@ vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower win vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' }) -- [[ Basic Autocommands ]] --- See :help lua-guide-autocommands +-- See `:help lua-guide-autocommands` -- Highlight when yanking (copying) text -- Try it with `yap` in normal mode diff --git a/lua/kickstart/plugins/lspconfig.lua b/lua/kickstart/plugins/lspconfig.lua index 04564fb..4ec78f9 100644 --- a/lua/kickstart/plugins/lspconfig.lua +++ b/lua/kickstart/plugins/lspconfig.lua @@ -35,7 +35,7 @@ return { -- Neovim. This is where `mason` and related plugins come into play. -- -- If you're wondering about lsp vs treesitter, you can check out the wonderfully - -- and elegantly composed help section, :help lsp-vs-treesitter + -- and elegantly composed help section, `:help lsp-vs-treesitter` -- This function gets run when an LSP attaches to a particular buffer. -- That is to say, every time a new file is opened that is associated with diff --git a/lua/kickstart/plugins/mini.lua b/lua/kickstart/plugins/mini.lua index 2467207..7c5026d 100644 --- a/lua/kickstart/plugins/mini.lua +++ b/lua/kickstart/plugins/mini.lua @@ -5,7 +5,7 @@ return { -- Better Around/Inside textobjects -- -- Examples: - -- - va) - [V]isually select [A]round [)]parenthen + -- - va) - [V]isually select [A]round [)]paren -- - yinq - [Y]ank [I]nside [N]ext [']quote -- - ci' - [C]hange [I]nside [']quote require('mini.ai').setup { n_lines = 500 } @@ -23,7 +23,7 @@ return { local statusline = require 'mini.statusline' statusline.setup() - -- You can confiure sections in the statusline by overriding their + -- You can configure sections in the statusline by overriding their -- default behavior. For example, here we disable the section for -- cursor information because line numbers are already enabled ---@diagnostic disable-next-line: duplicate-set-field diff --git a/lua/kickstart/plugins/treesitter.lua b/lua/kickstart/plugins/treesitter.lua index 9bbe415..6c4f9d0 100644 --- a/lua/kickstart/plugins/treesitter.lua +++ b/lua/kickstart/plugins/treesitter.lua @@ -17,7 +17,7 @@ return { -- There are additional nvim-treesitter modules that you can use to interact -- with nvim-treesitter. You should go explore a few and see what interests you: -- - -- - Incremental selection: Included, see :help nvim-treesitter-incremental-selection-mod + -- - Incremental selection: Included, see `:help nvim-treesitter-incremental-selection-mod` -- - Show your current context: https://github.com/nvim-treesitter/nvim-treesitter-context -- - Treesitter + textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects end, diff --git a/lua/kickstart/plugins/which-key.lua b/lua/kickstart/plugins/which-key.lua index a3c1317..776a052 100644 --- a/lua/kickstart/plugins/which-key.lua +++ b/lua/kickstart/plugins/which-key.lua @@ -7,7 +7,7 @@ -- event = 'VeryLazy' -- -- which loads which-key after all the UI elements are loaded. Events can be --- normal autocommands events (:help autocomd-events). +-- normal autocommands events (`:help autocmd-events`). -- -- Then, because we use the `config` key, the configuration only runs -- after the plugin has been loaded: diff --git a/lua/lazy-plugins.lua b/lua/lazy-plugins.lua index 8a18c1e..f06094d 100644 --- a/lua/lazy-plugins.lua +++ b/lua/lazy-plugins.lua @@ -64,7 +64,7 @@ require('lazy').setup { -- This is the easiest way to modularize your config. -- -- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going. - -- For additional information see: :help lazy.nvim-lazy.nvim-structuring-your-plugins + -- For additional information, see `:help lazy.nvim-lazy.nvim-structuring-your-plugins` -- { import = 'custom.plugins' }, } diff --git a/lua/options.lua b/lua/options.lua index 2248add..b290827 100644 --- a/lua/options.lua +++ b/lua/options.lua @@ -42,8 +42,8 @@ vim.opt.splitright = true vim.opt.splitbelow = true -- Sets how neovim will display certain whitespace in the editor. --- See :help 'list' --- and :help 'listchars' +-- See `:help 'list'` +-- and `:help 'listchars'` vim.opt.list = true vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' } |