mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
fix some typos
This commit is contained in:
parent
96129335ad
commit
b279c0cd95
@ -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
|
||||
|
||||
@ -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'
|
||||
|
||||
@ -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})
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
@ -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}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user