Skip to content

Commit bcbdae5

Browse files
authored
chore: fix typos (nvim-lua#666)
1 parent d262316 commit bcbdae5

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

init.lua

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ vim.opt.splitright = true
134134
vim.opt.splitbelow = true
135135

136136
-- Sets how neovim will display certain whitespace in the editor.
137-
-- See :help 'list'
138-
-- and :help 'listchars'
137+
-- See `:help 'list'`
138+
-- and `:help 'listchars'`
139139
vim.opt.list = true
140140
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '' }
141141

@@ -185,7 +185,7 @@ vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower win
185185
vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' })
186186

187187
-- [[ Basic Autocommands ]]
188-
-- See :help lua-guide-autocommands
188+
-- See `:help lua-guide-autocommands`
189189

190190
-- Highlight when yanking (copying) text
191191
-- Try it with `yap` in normal mode
@@ -261,7 +261,7 @@ require('lazy').setup {
261261
-- event = 'VeryLazy'
262262
--
263263
-- which loads which-key after all the UI elements are loaded. Events can be
264-
-- normal autocommands events (:help autocomd-events).
264+
-- normal autocommands events (`:help autocmd-events`).
265265
--
266266
-- Then, because we use the `config` key, the configuration only runs
267267
-- after the plugin has been loaded:
@@ -434,7 +434,7 @@ require('lazy').setup {
434434
-- Neovim. This is where `mason` and related plugins come into play.
435435
--
436436
-- If you're wondering about lsp vs treesitter, you can check out the wonderfully
437-
-- and elegantly composed help section, :help lsp-vs-treesitter
437+
-- and elegantly composed help section, `:help lsp-vs-treesitter`
438438

439439
-- This function gets run when an LSP attaches to a particular buffer.
440440
-- That is to say, every time a new file is opened that is associated with
@@ -742,7 +742,7 @@ require('lazy').setup {
742742
-- Better Around/Inside textobjects
743743
--
744744
-- Examples:
745-
-- - va) - [V]isually select [A]round [)]parenthen
745+
-- - va) - [V]isually select [A]round [)]paren
746746
-- - yinq - [Y]ank [I]nside [N]ext [']quote
747747
-- - ci' - [C]hange [I]nside [']quote
748748
require('mini.ai').setup { n_lines = 500 }
@@ -760,7 +760,7 @@ require('lazy').setup {
760760
local statusline = require 'mini.statusline'
761761
statusline.setup()
762762

763-
-- You can confiure sections in the statusline by overriding their
763+
-- You can configure sections in the statusline by overriding their
764764
-- default behavior. For example, here we disable the section for
765765
-- cursor information because line numbers are already enabled
766766
---@diagnostic disable-next-line: duplicate-set-field
@@ -791,7 +791,7 @@ require('lazy').setup {
791791
-- There are additional nvim-treesitter modules that you can use to interact
792792
-- with nvim-treesitter. You should go explore a few and see what interests you:
793793
--
794-
-- - Incremental selection: Included, see :help nvim-treesitter-incremental-selection-mod
794+
-- - Incremental selection: Included, see `:help nvim-treesitter-incremental-selection-mod`
795795
-- - Show your current context: https://github.com/nvim-treesitter/nvim-treesitter-context
796796
-- - Treesitter + textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects
797797
end,
@@ -813,7 +813,7 @@ require('lazy').setup {
813813
-- This is the easiest way to modularize your config.
814814
--
815815
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
816-
-- For additional information see: :help lazy.nvim-lazy.nvim-structuring-your-plugins
816+
-- For additional information, see `:help lazy.nvim-lazy.nvim-structuring-your-plugins`
817817
-- { import = 'custom.plugins' },
818818
}
819819

0 commit comments

Comments
 (0)