-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into tabsidebar
- Loading branch information
Showing
32 changed files
with
365 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
" The default vimrc file. | ||
" | ||
" Maintainer: The Vim Project <https://github.com/vim/vim> | ||
" Last Change: 2024 Nov 09 | ||
" Last Change: 2024 Nov 14 | ||
" Former Maintainer: Bram Moolenaar <[email protected]> | ||
" | ||
" This is loaded if no vimrc file was found. | ||
|
@@ -39,7 +39,6 @@ set backspace=indent,eol,start | |
set history=200 " keep 200 lines of command line history | ||
set ruler " show the cursor position all the time | ||
set showcmd " display incomplete commands | ||
set wildmenu " display completion matches in a status line | ||
|
||
set ttimeout " time out for key codes | ||
set ttimeoutlen=100 " wait up to 100ms after Esc for special key | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
*os_mac.txt* For Vim version 9.1. Last change: 2019 Apr 21 | ||
*os_mac.txt* For Vim version 9.1. Last change: 2024 Nov 14 | ||
|
||
|
||
VIM REFERENCE MANUAL by Bram Moolenaar et al. | ||
|
@@ -118,9 +118,13 @@ Shift-Control-2. | |
|
||
When reporting any Mac specific bug or feature change, please use the vim-mac | ||
maillist |vim-mac|. However, you need to be subscribed. An alternative is to | ||
send a message to the current MacVim maintainers: | ||
report issues either directly at the Vim github repository: | ||
|
||
[email protected] | ||
https://github.com/vim/vim/issues | ||
|
||
or for MacVim specific issues, you may report those over here: | ||
|
||
https://github.com/macvim-dev/macvim/issues | ||
|
||
============================================================================== | ||
7. Compiling Vim *mac-compile* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
" Vim filetype plugin file | ||
" Language: LLVM IR | ||
" Last Change: 2024 Oct 22 | ||
" Maintainer: Wu, Zhenyu <[email protected]> | ||
|
||
if exists("b:did_ftplugin") | finish | endif | ||
let b:did_ftplugin = 1 | ||
|
||
setl comments=:; | ||
setl commentstring=;\ %s | ||
|
||
let b:undo_ftplugin = "setl commentstring< comments<" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
" Vim filetype plugin file | ||
" Language: Org | ||
" Maintainer: Luca Saccarola <[email protected]> | ||
" Last Change: 2024 Nov 14 | ||
|
||
if exists("b:did_ftplugin") | ||
finish | ||
endif | ||
let b:did_ftplugin = 1 | ||
|
||
if exists('b:undo_ftplugin') | ||
let b:undo_ftplugin .= "|setl cms< com< fo< flp<" | ||
else | ||
let b:undo_ftplugin = "setl cms< com< fo< flp<" | ||
endif | ||
|
||
setl commentstring=#\ %s | ||
setl comments=fb:*,fb:-,fb:+,b:#,b:\: | ||
|
||
setl formatoptions+=nql | ||
setl formatlistpat=^\\s*\\(\\(\\d\\|\\a\\)\\+[.)]\\|[+-]\\)\\s\\+ | ||
|
||
function OrgFoldExpr() | ||
let l:depth = match(getline(v:lnum), '\(^\*\+\)\@<=\( .*$\)\@=') | ||
if l:depth > 0 && synIDattr(synID(v:lnum, 1, 1), 'name') =~# '\m^orgHeadline' | ||
return ">" . l:depth | ||
endif | ||
return "=" | ||
endfunction | ||
|
||
if has("folding") && get(g:, 'org_folding', 0) | ||
setl foldexpr=OrgFoldExpr() | ||
setl foldmethod=expr | ||
let b:undo_ftplugin .= "|setl foldexpr< foldmethod<" | ||
endif | ||
|
||
" vim: ts=8 sts=2 sw=2 et |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
# vim: set ft=bash sw=2 noet: | ||
|
||
# START_INDENT | ||
a = 10 | ||
b = 20 | ||
|
||
function add() { | ||
c = $((a + b)) | ||
} | ||
|
||
function print { | ||
# do nothing | ||
} | ||
|
||
if [[ $c -ge 15 ]]; | ||
then | ||
print("ok") | ||
else | ||
print("not ok") | ||
fi | ||
# END_INDENT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
# vim: set ft=bash sw=2 noet: | ||
|
||
# START_INDENT | ||
a = 10 | ||
b = 20 | ||
|
||
function add() { | ||
c = $((a + b)) | ||
} | ||
|
||
function print { | ||
# do nothing | ||
} | ||
|
||
if [[ $c -ge 15 ]]; | ||
then | ||
print("ok") | ||
else | ||
print("not ok") | ||
fi | ||
# END_INDENT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
" Language: Good old CFG files | ||
" Maintainer: Igor N. Prischepoff ([email protected], [email protected]) | ||
" Last change: 2012 Aug 11 | ||
" 2024 Nov 14 by Vim project: // only denotes a comment when starting a line (#16051) | ||
|
||
" quit when a syntax file was already loaded | ||
if exists ("b:current_syntax") | ||
|
@@ -27,17 +28,17 @@ syn match CfgSection "{.*}" | |
syn match CfgString "\".*\"" contained | ||
syn match CfgString "'.*'" contained | ||
|
||
" Comments (Everything before '#' or '//' or ';') | ||
" Comments (Everything before '#' or ';' or leading '//') | ||
syn match CfgComment "#.*" | ||
syn match CfgComment ";.*" | ||
syn match CfgComment "\/\/.*" | ||
syn match CfgComment "^\s*\/\/.*" | ||
|
||
" Define the default highlighting. | ||
" Only when an item doesn't have highlighting yet | ||
hi def link CfgOnOff Label | ||
hi def link CfgComment Comment | ||
hi def link CfgSection Type | ||
hi def link CfgString String | ||
hi def link CfgComment Comment | ||
hi def link CfgSection Type | ||
hi def link CfgString String | ||
hi def link CfgParams Keyword | ||
hi def link CfgValues Constant | ||
hi def link CfgDirectory Directory | ||
|
Oops, something went wrong.