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
|
if match(res, 'true') == -1
|
||||||
return v:false
|
return v:false
|
||||||
else
|
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).
|
" lazyloading of fugitive by packer.nvim).
|
||||||
" See also https://github.com/wbthomason/packer.nvim/discussions/534.
|
" See also https://github.com/wbthomason/packer.nvim/discussions/534.
|
||||||
doautocmd User InGitRepo
|
doautocmd User InGitRepo
|
||||||
|
|||||||
@ -260,7 +260,7 @@ omap s <Nop>
|
|||||||
|
|
||||||
""""""""""""""""""""""""""""vimtex settings"""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""vimtex settings"""""""""""""""""""""""""""""
|
||||||
if ( g:is_win || g:is_mac ) && executable('latex')
|
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/.
|
" see https://jdhao.github.io/2021/02/20/inverse_search_setup_neovim_vimtex/.
|
||||||
function! s:write_server_name() abort
|
function! s:write_server_name() abort
|
||||||
let nvim_server_file = (has('win32') ? $TEMP : '/tmp') . '/vimtexserver.txt'
|
let nvim_server_file = (has('win32') ? $TEMP : '/tmp') . '/vimtexserver.txt'
|
||||||
|
|||||||
@ -30,7 +30,7 @@ local packer_util = require('packer.util')
|
|||||||
|
|
||||||
packer.startup({
|
packer.startup({
|
||||||
function(use)
|
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 {'lewis6991/impatient.nvim', config = [[require('impatient')]]}
|
||||||
|
|
||||||
use({"wbthomason/packer.nvim", opt = true})
|
use({"wbthomason/packer.nvim", opt = true})
|
||||||
|
|||||||
@ -15,7 +15,7 @@ function M.executable(name)
|
|||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Create a dir if if does not exist
|
--- Create a dir if it does not exist
|
||||||
function M.may_create_dir(dir)
|
function M.may_create_dir(dir)
|
||||||
local res = fn.isdirectory(dir)
|
local res = fn.isdirectory(dir)
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@ snippet use "usepackage" b
|
|||||||
\usepackage{${1:package}}
|
\usepackage{${1:package}}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet eqa "equation enviroment" b
|
snippet eqa "equation environment" b
|
||||||
\begin{equation}\label{$1}
|
\begin{equation}\label{$1}
|
||||||
$2
|
$2
|
||||||
\end{equation}
|
\end{equation}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user