Przeglądaj źródła

Merge pull request #1251 from grvxs/fix-most-typos

[Doc]: Fix most typos
rebuilt 3 lat temu
rodzic
commit
ca750d8ff4

+ 1 - 1
.github/workflows/install.yaml

@@ -30,7 +30,7 @@ jobs:
           sudo apt-get update
           sudo apt-get update
           sudo apt-get install neovim -y
           sudo apt-get install neovim -y
 
 
-      - name: Installl dependencies for OSX
+      - name: Install dependencies for OSX
         if: matrix.os == 'osx'
         if: matrix.os == 'osx'
         run: |
         run: |
           brew update >/dev/null
           brew update >/dev/null

+ 1 - 1
README.md

@@ -187,7 +187,7 @@ To update Neovim use your package manager or [compile from source](https://githu
     - User configurable lang/feature enable/disable
     - User configurable lang/feature enable/disable
 3. Provide a [simple and easy](https://github.com/LunarVim/LunarVimCommunity) way for users to share their own configuration or use others. 
 3. Provide a [simple and easy](https://github.com/LunarVim/LunarVimCommunity) way for users to share their own configuration or use others. 
 4. Hot reload of configurations
 4. Hot reload of configurations
-    - Hot install of lsp/treesitter/formatter required upon openning a filetype for the first time
+    - Hot install of lsp/treesitter/formatter required upon opening a filetype for the first time
 5. Provide a stable & maintainable error free configuration layer over neovim 
 5. Provide a stable & maintainable error free configuration layer over neovim 
     - With the help of the community behind it
     - With the help of the community behind it
     - Github workflow testing
     - Github workflow testing

+ 1 - 1
ftplugin/elixir.lua

@@ -1,7 +1,7 @@
 require("lsp").setup "elixir"
 require("lsp").setup "elixir"
 
 
 -- TODO: do we need this?
 -- TODO: do we need this?
--- needed for the LSP to recognize elixir files (alternativly just use elixir-editors/vim-elixir)
+-- needed for the LSP to recognize elixir files (alternatively just use elixir-editors/vim-elixir)
 -- vim.cmd [[
 -- vim.cmd [[
 --   au BufRead,BufNewFile *.ex,*.exs set filetype=elixir
 --   au BufRead,BufNewFile *.ex,*.exs set filetype=elixir
 --   au BufRead,BufNewFile *.eex,*.leex,*.sface set filetype=eelixir
 --   au BufRead,BufNewFile *.eex,*.leex,*.sface set filetype=eelixir

+ 1 - 1
ftplugin/euphoria3.lua

@@ -1,7 +1,7 @@
 require("lsp").setup "erlang"
 require("lsp").setup "erlang"
 
 
 -- TODO: do we need this?
 -- TODO: do we need this?
--- needed for the LSP to recognize elixir files (alternativly just use elixir-editors/vim-elixir)
+-- needed for the LSP to recognize elixir files (alternatively just use elixir-editors/vim-elixir)
 -- vim.cmd [[
 -- vim.cmd [[
 --   au BufRead,BufNewFile *.ex,*.exs set filetype=elixir
 --   au BufRead,BufNewFile *.ex,*.exs set filetype=elixir
 --   au BufRead,BufNewFile *.eex,*.leex,*.sface set filetype=eelixir
 --   au BufRead,BufNewFile *.eex,*.leex,*.sface set filetype=eelixir

+ 1 - 1
lua/core/dashboard.lua

@@ -84,7 +84,7 @@ M.setup = function()
 
 
   require("core.autocmds").define_augroups {
   require("core.autocmds").define_augroups {
     _dashboard = {
     _dashboard = {
-      -- seems to be nobuflisted that makes my stuff disapear will do more testing
+      -- seems to be nobuflisted that makes my stuff disappear will do more testing
       {
       {
         "FileType",
         "FileType",
         "dashboard",
         "dashboard",

+ 1 - 1
lua/lsp/peek.lua

@@ -100,7 +100,7 @@ function M.set_cursor_to_prev_pos(winnr)
   local range = location.targetRange or location.range
   local range = location.targetRange or location.range
   local cursor_pos = { range.start.line + 1, range.start.character }
   local cursor_pos = { range.start.line + 1, range.start.character }
 
 
-  -- Set the winnr to the floting window if none was passed in
+  -- Set the winnr to the floating window if none was passed in
   winnr = winnr or M.floating_win
   winnr = winnr or M.floating_win
   -- Set the cursor at the correct position in the floating window
   -- Set the cursor at the correct position in the floating window
   vim.api.nvim_win_set_cursor(winnr, cursor_pos)
   vim.api.nvim_win_set_cursor(winnr, cursor_pos)

+ 1 - 1
lua/utils/init.lua

@@ -16,7 +16,7 @@ local function r_inspect_settings(structure, limit, separator)
 
 
   if ts == "table" then
   if ts == "table" then
     for k, v in pairs(structure) do
     for k, v in pairs(structure) do
-      -- replace non alpha keys wih ["key"]
+      -- replace non alpha keys with ["key"]
       if tostring(k):match "[^%a_]" then
       if tostring(k):match "[^%a_]" then
         k = '["' .. tostring(k) .. '"]'
         k = '["' .. tostring(k) .. '"]'
       end
       end

+ 2 - 2
utils/installer/install_stylua.sh

@@ -30,7 +30,7 @@ function download_stylua() {
 		exit 1
 		exit 1
 	fi
 	fi
 
 
-	echo "Installtion in progress.."
+	echo "Installation in progress.."
 	unzip -q "$DOWNLOAD_DIR/$FILENAME.zip" -d "$DOWNLOAD_DIR"
 	unzip -q "$DOWNLOAD_DIR/$FILENAME.zip" -d "$DOWNLOAD_DIR"
 
 
 	if [ -f "$DOWNLOAD_DIR/stylua" ]; then
 	if [ -f "$DOWNLOAD_DIR/stylua" ]; then
@@ -43,7 +43,7 @@ function download_stylua() {
 }
 }
 
 
 function verify_install() {
 function verify_install() {
-	echo "Verifying installtion.."
+	echo "Verifying installation.."
 	local DOWNLOADED_VER
 	local DOWNLOADED_VER
 	DOWNLOADED_VER="$("$INSTALL_DIR/stylua" -V | awk '{ print $2 }')"
 	DOWNLOADED_VER="$("$INSTALL_DIR/stylua" -V | awk '{ print $2 }')"
 	if [ "$DOWNLOADED_VER" != "$RELEASE" ]; then
 	if [ "$DOWNLOADED_VER" != "$RELEASE" ]; then