1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Merge pull request #75 from jdhao/typo-fix

fix some typos
This commit is contained in:
jdhao 2022-08-23 21:12:50 +08:00 committed by GitHub
commit 6539e72a5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -156,7 +156,7 @@ function! utils#Inside_git_repo() abort
if match(res, 'true') == -1
return v:false
else
" Manually trigger a specical user autocmd InGitRepo (to use it for
" Manually trigger a special user autocmd InGitRepo (to use it for
" lazyloading of fugitive by packer.nvim).
" See also https://github.com/wbthomason/packer.nvim/discussions/534.
doautocmd User InGitRepo

View File

@ -260,7 +260,7 @@ omap s <Nop>
""""""""""""""""""""""""""""vimtex settings"""""""""""""""""""""""""""""
if ( g:is_win || g:is_mac ) && executable('latex')
" Hacks for inverse serach to work semi-automatically,
" Hacks for inverse search to work semi-automatically,
" see https://jdhao.github.io/2021/02/20/inverse_search_setup_neovim_vimtex/.
function! s:write_server_name() abort
let nvim_server_file = (has('win32') ? $TEMP : '/tmp') . '/vimtexserver.txt'

View File

@ -30,7 +30,7 @@ local packer_util = require('packer.util')
packer.startup({
function(use)
-- it is recommened to put impatient.nvim before any other plugins
-- it is recommended to put impatient.nvim before any other plugins
use {'lewis6991/impatient.nvim', config = [[require('impatient')]]}
use({"wbthomason/packer.nvim", opt = true})

View File

@ -15,7 +15,7 @@ function M.executable(name)
return false
end
--- Create a dir if if does not exist
--- Create a dir if it does not exist
function M.may_create_dir(dir)
local res = fn.isdirectory(dir)

View File

@ -2,7 +2,7 @@ snippet use "usepackage" b
\usepackage{${1:package}}
endsnippet
snippet eqa "equation enviroment" b
snippet eqa "equation environment" b
\begin{equation}\label{$1}
$2
\end{equation}