Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Changes
Page history
Update vim
authored
Mar 19, 2022
by
umaumax
Show whitespace changes
Inline
Side-by-side
vim.md
View page @
88cd841c
...
...
@@ -641,6 +641,13 @@ inoremap <S-Tab> <C-r>=<SID>UnTab()<CR>
:
echo
has
(
'nvim-0.1.6'
)
```
### 色付きのメッセージを簡単に出力する
```
vim
lua
vim
.
api
.
nvim_echo
({{
"This is a "
},
{
"warning"
,
"WarningMsg"
},
{
" message.\n"
},
{
"NOTE: This is a comment."
,
"Comment"
},
},
true
,
{})
call
nvim_echo
([[
"This is a "
],
[
"warning"
,
"WarningMsg"
],
[
" message.\n"
],
[
"NOTE: This is a comment."
,
"Comment"
],
],
v
:
true
,
{})
```
## Plugin
### 誰かのライブラリを拡張(ハック)する
[
Big Sky :: 他人が作ったVimScriptを一切触らず拡張する
](
https://mattn.kaoriya.net/software/vim/20110728094347.htm
)
...
...
...
...