...
 
Commits (39)
  • Dustin L. Howett's avatar
    Merge commit '5e96cbb7' · 9af35262
    Dustin L. Howett authored
    9af35262
  • Dustin L. Howett's avatar
    Squashed 'pack/3rdparty/start/vim-go/' changes from c9d30dab22..a61545f09c · 5e96cbb7
    Dustin L. Howett authored
    a61545f09c update CHANGELOG.md for #2126 and #2127
    dadf61db4b Merge pull request #2126 from bhcleek/signs-are-breakpoints
    53fb5865b8 Merge pull request #2127 from bhcleek/fix-godebugstop-race
    32d15ad3f4 expect race condition when waiting for debugger stop
    3ffc8e17a3 Use signs to keep track of breakpoints
    310bc00c09 Merge pull request #1907 from zkry/highlight-operators
    4962e8d78e update CHANGELOG.md for #1907
    a5ce37f478 Merge pull request #1907 from zkry/highlight-operators
    2483883784 Add operator symbols in regex to correct field highlight termination
    7a7611c31e update CHANGELOG.md for #2125
    7b44fb5f52 update CHANGELOG.md for #2122
    eeaf0b5fee Merge pull request #2125 from bhcleek/fix-neovim-debug-lockup
    8219874c7f Merge pull request #2122 from bhcleek/no-match-message
    5591464991 debug: exit busy wait when dlv exits
    8e724f333e display message when type info cannot be determined
    74425f16e8 update CHANGELOG.md for #2108
    0ab5221bab Merge pull request #2108 from bhcleek/pure-ftdetect
    1ed9b52192 refactor autocmd events
    94b97d33c5 remove commented out experimental SameID code
    8342cd4ffd maintain backwards compability for renamed config value
    a81b7afc2d update CHANGELOG.md for #2117
    890c8c5417 Merge pull request #2117 from bhcleek/highlight-named-return-params
    4094404543 rename g:go_highlight_function_arguments to g:go_highlight_function_parameters
    038418063d update CHANGELOG.md for #2117
    873d418b74 rename highlight groups of function parameters
    7a7f70fa0f highlight named return values correctly
    d2c5043ef2 Merge pull request #2116 from pocke/fix-highlight
    2123fdb297 Fix highlighting for function return types when highlight_function_arguments is enabled
    d0c5d5fb23 update CHANGELOG.md for #2109
    59edda836a Merge pull request #2109 from bhcleek/clear-buffer-autocmds
    1ce8d381e6 update CHANGLEOG.md for #2111
    2ea5e15125 Merge pull request #2111 from bhcleek/dlv-errors
    8bd42dd99e show dlv errors in quickfix list
    4159e60353 clear buffer-local autocmds correctly
    0a621c5e50 Add operator symbols in regex to correct field highlight termination
    
    git-subtree-dir: pack/3rdparty/start/vim-go
    git-subtree-split: a61545f09cad6df2e7a4918cbd6981811f612ae9
    5e96cbb7
  • Dustin L. Howett's avatar
    Squashed 'pack/3rdparty/start/vim-snippets/' changes from 9ff16f86eb..075e97b6b6 · 57aaf692
    Dustin L. Howett authored
    075e97b6b6 Inline Rust dbg! snippet
    902d4ada21 Flexbox snippets css (#1110)
    54e76dd36c Rust: Add dbg! macro snippet 'db'
    3e731369fb Add placeholders at end of CSS snippets
    3eef68c6b6 delete blank  (#1105)
    a92ba4854f ADD Rust Cargo-Ignore-TestCase
    1d19d09227 Test snippet format matches a directory it is in
    0981110960 Fix unused_variables in Rust snippet
    d7e89ca955 Fix typo, add shorter alias, use app name variable multiple times
    e023e39732 Add snippets for Phoenix webframework
    9ccd25a150 Correct syntax error in python snippets
    a742d863da Use same trigger for javascript functions
    cfc7e5246a feature/add-python-unit-test-skip
    
    git-subtree-dir: pack/3rdparty/start/vim-snippets
    git-subtree-split: 075e97b6b6c1f981a15f7a887d7c006141fccbfc
    57aaf692
  • Dustin L. Howett's avatar
    Merge commit '57aaf692' · 4a759ea2
    Dustin L. Howett authored
    4a759ea2
  • Dustin L. Howett's avatar
    Merge commit '979577d3' · 33c7e106
    Dustin L. Howett authored
    33c7e106
  • Dustin L. Howett's avatar
    Squashed 'pack/3rdparty/start/vim-fugitive/' changes from 40e8d0b9f0..ed07f9a503 · 979577d3
    Dustin L. Howett authored
    ed07f9a503 Guard against status reloading in wrong buffer
    c98d3cf38f Fix bug in excluding Gstatus window from reuse
    3304c14c63 Move filetype to after maps to allow user maps
    d27dbc40d4 Respect 'splitbelow' in :Gstatus
    50cf1b3bd1 Fix s:Cd() usage in the Gblame command
    8b32524219 Don't force foldtext for status buffer
    5a7f5967e7 Don't set readonly globally
    552baf98b3 Support git grep --column
    58a4a2e102 Provide Git version comparison API
    8bf74ceef3 Make all maps reblame at index when on dirty lines
    fe467f78bc Allow ShellCmdPost to fire inside :Make
    07845537d7 Fix :belowright Gstatus
    ddc5e1a21a Reload status after :Gpush and :Gfetch
    9211b11cd2 Use native edit commands in :Gstatus
    6e74463965 Run :Gstatus edit command at top level
    b8a6fd204c Always default to horizontal split for :Gstatus
    75ca90739b Ignore warnings in `git status --porcelain`
    5a1c8bbe46 Reload status on all quickfix commands
    bb46630828 Clarify that removal notices need to be fixed at the source
    c448104332 Fix :Gread deleting too much due to closed folds
    441074f881 Fix unstaging a deleted file
    68cd7ecf71 Add simple rebase maps
    fbeb9d6793 Use appropriate message for :Glog --walk-reflogs
    07f4f8d2a9 Don't set global value of 'modifiable'
    29f16cd924 Deprecate :Glog defaulting to current file
    b9ea3efdf8 Fix navigation maps like ~ in commit
    b1a993964b Fix commit maps while accommodating bad modelines
    b88d064ac4 Nobody has a version of Vim older than 7.2 anymore
    201896b9a2 Clarify - map
    acf3cb4400 Reveal full hunk on :Gstatus CTRL-N
    9c74c0d0a7 Restore :checktime for :Gstatus delete
    4df6525284 Fix check for :Gstatus window
    a4de0238bb Try split instead of preview window for :G
    227159e964 Include backslash lines in diff hunks
    9e4fd4b3f6 Run diff for :Gstatus from project root
    8c89c8d1f5 Enable maps in :Git! output buffers
    42408d6a2e Don't break jump list when loading buffer
    3383badda5 Don't stage/unstage from unstage/stage maps
    faeb3a9726 Enable discarding individual hunks
    357fbdbcf9 Enable staging individual hunks
    6cf448324c Fix inline diffs including submodule logs
    fa6d7886e7 Fix patch mapping in README
    d948ec3376 Support expanding inline diffs in :Gstatus
    51abc6a1bb Fix :Gstatus toggle on Unstaged heading
    d4e06150cb Fix issue loading conflict buffers on :Grebase -i
    61d467b573 Extract function for reloading individual :Gstatus
    054ac50975 Fix reference to rebase buffer when closing tab
    037965583e Don't overlap navigation maps with :Gcommit maps
    4c7998f58c Add :G as alias for :Gstatus
    
    git-subtree-dir: pack/3rdparty/start/vim-fugitive
    git-subtree-split: ed07f9a503e53ec3ca4d5e255acb078675f2ff0e
    979577d3
  • Dustin L. Howett's avatar
    Merge commit '653295aa' · 562dd572
    Dustin L. Howett authored
    562dd572
  • Dustin L. Howett's avatar
    Squashed 'pack/3rdparty/start/ctrlp/' changes from e953ee7a80..879c40da6b · 653295aa
    Dustin L. Howett authored
    879c40da6b Merge pull request #501 from tpenguinltg/license
    15a66e1cba Add license
    0b0a9aeaba Merge pull request #497 from jbizzle/typo1
    56786625db Fixes a typo in docs
    
    git-subtree-dir: pack/3rdparty/start/ctrlp
    git-subtree-split: 879c40da6b7c65fa01f17a083efee6cdc8bf9d09
    653295aa
  • Dustin L. Howett's avatar
    Merge commit '61e474f2' · 21cabf3b
    Dustin L. Howett authored
    21cabf3b
  • Dustin L. Howett's avatar
    Squashed 'pack/3rdparty/start/undotree/' changes from 9172c17f6d..db0223fc68 · 61e474f2
    Dustin L. Howett authored
    db0223fc68 Updated doc
    a01ffdbca4 Update README.md
    d7075dd1c6 Update README.md
    63734df2a3 Fixed an error message during exiting undotree.
    
    git-subtree-dir: pack/3rdparty/start/undotree
    git-subtree-split: db0223fc6857c160b2394489094355feb20318f2
    61e474f2
  • Jens Carl's avatar
    Add missing keywords from <atomic> · 885b1947
    Jens Carl authored
    Add missing types from <atomic> enum std::memory_order.
    885b1947
  • Kirill Bobyrev's avatar
    Add few C++ 20 keywords · da1d86aa
    Kirill Bobyrev authored
    * char8_t
    * Coroutine-related co_await, co_return, co_yield
    * consteval
    da1d86aa
  • Dustin L. Howett's avatar
    Squashed 'pack/3rdparty/start/vim-go/' changes from a61545f09c..7eda25c97b · 896cdca2
    Dustin L. Howett authored
    7eda25c97b update CHANGELOG.md for #2401
    22aa598073 Merge pull request #2401 from ldelossa/fix-test-quickfix-path
    84381f90c9 update comments, bump test
    c397558068 change to appropriate dir before quickfix parse
    0a0ded2cbf update CHANGELOG.md #2397
    d07a620580 Merge pull request #2397 from ldelossa/fix-nvim-term
    65a9cfdc00 add return
    b5874d4b7c update CHANGELOG.md for #2395
    9b076a47ac Merge pull request #2395 from bhcleek/lsp/text-position-to-vim-position
    c7ea686bba lsp: convert LSP text position to vim column correctly
    97daa6dde8 update CHANGELOG.md for #2394
    46fd587ed5 Merge pull request #2394 from bhcleek/lsp/position
    88a921ec53 lsp: calculate LSP positions using VimL
    09edd7a4ff update CHANGELOG.md for #2389
    d4a05c6873 Merge pull request #2389 from bhcleek/lsp/position
    acfb005de7 update CHANGELOG.md for #2390
    8f13ffc86d Merge pull request #2390 from bhcleek/debug/fix-restart
    b18f3a078b debug: pass is_test to go#debug#Start when restarting
    e95484ed7d lsp: calculate character position correctly
    3ab5d6c544 Merge pull request #2378 from Swivelgames/patch-1
    1f7e3de081 Merge pull request #2382 from bhcleek/lsp/completion-change
    2a656037f0 lsp: handle changes to function and method completions
    5549ad7a99 Updated `vim-go` to be consistent with `README.md`
    c67d72c476 update CHANGELOG.md for #2367
    c6a304a1f0 Merge pull request #2367 from gnuletik/master
    2a03db0b86 Merge pull request #2376 from bhcleek/metalinter/filter-autosave-manually
    2a33f91217 metalinter: filter autosave results manually
    ed51984297 update CHANGLOG.md for #2375
    257a340a2b Merge pull request #2375 from bhcleek/lint/fix-tests
    2b4dd639c9 lint: remove go_metalinter_disabled option and fix tests
    7aa035a7d2 update CHANGELOG.md for #2373
    1c5b8df543 Merge pull request #2373 from bhcleek/lsp/hover-has-no-godoc
    b3ec7f273a lsp: show info of types without godoc correctly
    d1c8ffba66 update CHANGELOG.md
    5451803061 tw
    0f8e2763e1 lsp: remove checks for null modules
    63a9278073 Merge pull request #2360 from bhcleek/lsp/stable
    f3cb5836cd Merge pull request #2369 from bhcleek/lsp/intialize-msg
    0f5961c614 Merge pull request #2356 from bhcleek/lsp/add-workspace
    a3a9b7780d lsp: add :GoAddWorkspace
    7b97b0d2ca lsp: add support for workspace/workspaceFolders
    9a05dd70f3 lsp: refactor message processing
    b7ce0f882d Merge pull request #2358 from sebastianst/fix/snippet-err
    c278ca06c2 lsp: disambiguate lsp initialization progresss
    4899a0e508 plugin: install gopls stable
    3ccc6e99a6 Merge pull request #2370 from bhcleek/scripts/nvim-0.3.2
    7fe3fd7b0d update install script to install Neovim v0.3.2
    a473122cca fix(golangci-lint): Run linter on the directory
    1db5c0e5fc snippets: rename snippet errn->err, since errn is already in use
    b6a0bde7d4 Merge pull request #2355 from bhcleek/lsp/log
    e3ac6d08e8 lsp: refactor lsp debug to output to a window
    2992e1cadd lsp: refactor how g:go_lsp_log is represented
    3d1c83a3d6 lsp: rename a variable for clarity
    b5992464dd Merge pull request #2354 from bhcleek/lsp/redraw-during-initialization-sleep
    e01a6ca44f lsp: redraw after each sleep
    b78f7f47d5 Merge pull request #2352 from santosh/snippet-fix
    6b4a417957 Adds missing whitespace
    5e1689db32 update CHANGLEOG.md
    1f05794d5d Merge pull request #2351 from bhcleek/lsp/responsive-initialization
    74fa8a0f25 Merge pull request #2347 from skanehira/master
    7ba2c05c1d support popup window when run GoDoc
    da52905115 lsp: make initialization of gopls in uninitialized modules more responsive
    255f903c14 update CHANGELOG.md for #2329
    ac860786f9 Merge pull request #2329 from bhcleek/lsp/by-default
    d034e5fd5e update CHANGELOG.md for #2335
    b82f469b1d Merge pull request #2335 from bhcleek/better-relative-import-path-support
    5b5a90ba66 update CHANGELOG.md for #2342
    8689f9fc16 Merge pull request #2342 from bhcleek/null-module/complete
    c02fecccd3 fix completion of pacakge names on cmdline in null modules
    42bf5587c0 Merge pull request #2307 from mattn/fix-errors
    754c4dc0f4 update CHANGELOG.md for #2339
    b5accd989e Merge pull request #2339 from liaoishere/bugfix/gopls-goinfo-syntax
    ee09b23048 Fix checking version
    2be0c5fc7f Fix index error
    984e523875 Fix error for formating gomod in tip
    d88daf499f Check list length before handling the godoc result
    ea28320d9d try to use relative import paths if necessary
    2d2f5b35c9 Merge pull request #2334 from bhcleek/redo-2316
    a0b9285803 lint: lint the correct package
    ac1b69efaa Revert "lint: run golint in null module packages successfully"
    8033862f26 update CHANGELOG.md for #2313
    35df520cd3 Merge pull request #2313 from bhcleek/lsp/GetInfo
    4da1524ff4 make gopls the default for g:go_info_mode and g:go_def_mode
    6c70f94ccf update CHANGELOG.md for #2327
    69d8494302 Merge pull request #2327 from bhcleek/lsp/handler-change-winid
    b36649ebdd lsp: allow handlers to set the window
    4751cb741f Merge pull request #2326 from bhcleek/lsp/neovim-null-module-warning
    55d96bba15 lsp: disable shortmess F when displaying null module warning in Neovim
    2e07f0afd7 update CHANGELOG.md for #2323
    b16bd58149 Merge pull request #2323 from bhcleek/issue/config
    9f5799cc83 Merge pull request #2324 from itchyny/fix/changelog-quotes
    344c9c8a4b fix quote for g:go_null_module_warning in CHANGELOG.md
    31d1789431 include vim-go config values in GitHub issue
    39201bf50f Create FUNDING.yml
    54c9c1f73f update CHANGELOG.md for #2319
    2b01561df6 Merge pull request #2319 from bhcleek/actions/new-files
    25c2bec8f5 allow auto actions on new files
    bcdc25f852 update CHANGELOG.md for #2318
    9ea02e3d85 Merge pull request #2318 from bhcleek/lint/null-module
    360253cbed lint: run golint in null module packages successfully
    03febea223 support g:go_info_mode='gopls' in go#complete#GetInfo
    8ca22ee07b add promises
    c70f333613 complete: separate tests for go#complete#GetInfo
    9d6d5cc0aa update CHANGELOG.md for #2311 and #2312
    070a957a1f Merge pull request #2311 from bhcleek/lsp/info
    78ef2cad89 Merge pull request #2312 from bhcleek/issue/config
    13111c3ea1 fix :GoReportGitHubIssue
    c05c4262e9 lsp: strip godoc summary in info handler
    aed548af1c update CHANGELOG.md for #2309
    b0c9b63cd4 Merge pull request #2309 from bhcleek/lsp/disable-null-module-warning
    a5f7291169 add config option to disable warning when in a null module
    fd234e025e document g:go_version_warning
    79ea9ef268 Merge pull request #2304 from abhinav/frompath-module
    37cae93b14 package/FromPath: -1 if there's no code
    c9ac6911cd package/FromPath: Use mod path if there's no code
    3dba44e245 Merge pull request #2302 from bhcleek/lsp/fail-only-on-null-module
    2d46805879 lsp: always initialize in GOPATH mode
    8651442f27 add blurb about FAQ to README.md
    9ab70db706 update CHANGELOG.md for #2300
    e97f0c02e3 Merge pull request #2300 from bhcleek/lsp/graceful-no
    9bd8fb3773 help: add an FAQ entry about troubleshooting
    bf80ef8703 help: add an entry to the FAQ about gopls
    47b6551090 completion: cancel when go#lsp#Complete returns non-zero
    bfe04ba51f lsp: handle using gopls outside of GOPATH mode and module mode
    39cc88b2cb lsp: avoid Vim errors when gopls cannot be started
    b700944719 complete: handle lsp completion error
    5c920e0e94 fix spelling and grammar mistakes in a comment
    26f8582007 Merge pull request #2297 from bhcleek/complete/gocode-fix
    29016cbde8 completion: fix gocode processing
    d2f1bbe458 update CHANGELOG.md for #2292
    9520201e04 Merge pull request #2292 from bhcleek/windows/restore-env-variables
    86a23edef7 handle restoration of windows environment variables correctly
    71a92370a8 update CHANGELOG.md for #2291
    5e771891fe Merge pull request #2291 from bhcleek/lsp/completion-start
    a57d35c7be lsp: adjust to gopls changes
    b86b0d3634 update CHANGELOG.md for #2289
    6e4cdeaef4 update CHANGELOG.md for #2277
    99dc8e82ec Merge pull request #2289 from bhcleek/lsp/functions-preview
    b71aa9c42c Merge pull request #2277 from bhcleek/test/example
    6166e7390f lsp: show function signature with return types in preview window
    a3b8e6b941 test: provide output when examples fail
    c4b419db6c update CHANGELOG.md for #2269 and #2276
    2d04dc6a99 Merge pull request #2269 from bhcleek/debug/relative
    0418a0cd5e Merge pull request #2276 from bhcleek/doc/browse/method
    975401bff3 doc: set method anchor correctly
    8c32f9f205 Merge pull request #2273 from bhcleek/polyglot-users-are-killing-me
    761163ce16 doc: add FAQ for polyglot users
    9865e4494d debug: allow debugging outside GOPATH without a go.mod
    64178ea571 update CHANGELOG.md for #2266, #2267, and #2268
    cd68441537 Merge pull request #2268 from bhcleek/lsp/complete-preview
    07e918bc67 Merge pull request #2267 from bhcleek/gocode/fix
    7db9eec53f Merge pull request #2266 from bhcleek/lsp/originating-winid
    99df6642e2 show completion preview correctly
    9495669281 completion: fix gocode processing
    a2eb741159 lsp: set winid before calling handlers
    df3d5dd237 use go#util#Exec instead of go#util#System
    f84a342b5d Merge pull request #2264 from bhcleek/gopls/smart-wd
    8465d625e9 make some sections collapsible in ISSUE_TEMPLATE.md
    6c6a8e7ffa lsp: set working directory based on module directory
    e1ef9d54ce update CHANGELOG.md for #2261
    9ffbd9bcf3 Merge pull request #2261 from bhcleek/golangci-lint/build-tags
    c92211639e teach golangci-lint to use build tags
    2c1a85bbd0 Merge pull request #2258 from bhcleek/feature/code-completion/toggle
    8b7f1d9c3e update CHANGELOG.md for #2229
    b4b1f7baf3 spell autocomplete and its derivatives correctly
    458529d124 change name of new option
    8e7672df32 Merge pull request #2229 from dohq/feature/toggle-autocomplete
    b8684ab5f9 guard GOPATH detection
    db68ce2d47 update CHANGELOG.md for #2255
    dd882abf34 Merge pull request #2255 from bhcleek/gopls/detect-gopath
    45cdcc10aa [fix] doc line length
    a200ed8817 [add] toggle autocomplete
    613293dafb detect GOPATH before starting gopls
    20f2b88956 update CHANGELOG.md for #2253
    fc9dccc75e Merge pull request #2253 from bhcleek/install-module-mode
    1237fa0e19 set GO111MODULE=off when installing tools
    3e9a292796 update CHANGELOG.md for #2244
    2798873181 Merge pull request #2244 from bhcleek/lsp/info
    770d167f89 lsp: show info of function type correctly
    58cda9d64b update CHANGELOG.md for v1.20
    d893d8162a Merge pull request #2241 from bhcleek/patreon/bhcleek
    b84d1b76c7 update patreon links to bhcleek's page
    c166037dbe update CHANGELOG.md
    a1852d9fec Merge pull request #2240 from bhcleek/gui-hover-newlines
    0957d8a497 use newlines in the hover window when possible in the GUI
    ae4e146842 Merge pull request #2239 from bhcleek/no-hover-progress
    af406aed89 Merge pull request #2238 from bhcleek/hover-with-newlines
    23c018ff4f don't display progress messages for hover requests
    d3dc20cca8 hover: format balloon lines
    d52fd7b52c Merge pull request #2237 from bhcleek/gopls/hover/plaintext
    72c2acb57c gopls: tell gopls to return plaintext data
    203366598f Merge pull request #2235 from bhcleek/gopls/silent-start
    a62b3c8812 start gopls silently
    9a4f21e534 Merge pull request #2231 from velovix/deoplete-gopls-docs
    a5a22899f5 Remove reference to deoplete-go in completion docs
    e63a883174 Merge pull request #2230 from velovix/master
    d9a0024707 Add docs for using deoplete with gopls completion
    ff0c6df244 Remove mention of vim-godebug from documentation
    473636c94c update CHANGELOG.md for #2227
    adb79f5429 Merge pull request #2227 from bhcleek/tag-options
    00da1a2d1b tags: support tag options on initial add
    ecbaa0f478 Merge pull request #2226 from bhcleek/lsp/no-status-auto-info
    7fe9fd28f5 lsp: respect showstatus in go#lsp#Info
    32c3a862db update CHANGELOG.md for #2224
    94fe300c93 Merge pull request #2224 from bhcleek/lsp/go-info
    d1ebea1e3f add gopls option for g:go_info_mode
    ec9168ad6d lsp: swallow errors when hovering
    565d586263 lsp: use default error handler only when one isn't provided
    1e148b73ca respect showstatus when using guru to get identifier info
    ca7149612f move function to script scope
    9a7cf4a68a Merge pull request #2218 from bhcleek/fix-did-change
    81cdaeb2ee sync buffer to gopls in go#lsp#DidChange correctly
    ccf43d040c add abort modifiers to lsp functions
    680a273c28 update CHANGELOG.md for #2213
    1830e65664 Merge pull request #2213 from bhcleek/enhance-completion
    17735fba65 complete vendored packages and modules
    89b7594b2d Merge pull request #2217 from dbger/master
    ba5a1fd3ef The `noballooneval` variable does not exist.
    686167f5f0 Merge pull request #2210 from bhcleek/lsp/synchronization
    c2fc185df1 synchronize buffers with gopls
    0c7aff2281 register files with gopls when FileType is set
    367b79b55f do not synchronize pseudo-files with gopls
    f04098811b update CHANGELOG.md for #2209
    44ceb1194b Merge pull request #2209 from bhcleek/cleanup-term-mode
    2178494ae2 refactor terminal handling
    8559423dcd Merge pull request #2208 from tombell/patch-1
    7ce925a31a Fix type of binary name in CHANGELOG.md
    32ab2f558f update CHANGELOG.md for #2203 and #2205
    0865dd29df simplify g:go_debug_log_output handling
    94a9279c46 Merge pull request #2203 from sbromberger/sbromberger/suppress-logging
    8675025593 Merge pull request #2205 from bhcleek/bang-maintain-window
    071567ccd2 do not change to list window when bang is set
    84409146aa removed go_debug_log; combined with go_debug_log_output so that logging suppressed if latter is empty string.
    17d4c087f0 update CHANGELOG.md for #2202
    e95e83aeaf Merge pull request #2202 from bhcleek/lsp/balloon
    9def13c1d0 adds options to suppress/customize delve logging; closes #2200
    60b5ec10bd use gopls for balloons
    d1d285a0f9 Merge pull request #2201 from bhcleek/githubissue-typo
    5ef15fd47f fix typo in go#issue#New
    d57d1bd6b2 Merge pull request #2198 from bhcleek/windows-file-uri
    fbbd6fc85c handle drive letters on windows correctly
    529eacc712 encode windows file uri correctly
    ce3d69ef9f Merge pull request #2196 from bhcleek/support-old-vim-jobs
    4f3b8424df remove job cwd when it's not supported
    61db11cb24 support setting cwd for jobs for old Vim8
    40fa2df43c update CHANGELOG.md for #2192
    4ac7e9578b Merge pull request #2192 from bhcleek/fix-go-mod-highlighting
    e0bc4c276a update CHANGELOG.md
    23fa7d274e improve go.mod syntax highlighting
    2a21c6a9d0 update CHANGELOG.md for #2189 and #2182
    96bd5e4bd1 Merge pull request #2189 from bhcleek/avoid-function-redefinition
    277462156f Merge pull request #2182 from micahcoffman/golangci_linter_support
    e77bd056f8 do not redefine functions
    5eab407f13 Merge pull request #2187 from bhcleek/go1.12
    3a82d3fde7 test using Go 1.12
    a62c7ceaf6 add tests for golangci-lint
    380b1d62b8 create parity between default linters for gometalinter and golangci-lint
    093b38b50a remove g:go_metalinter in favor of g:go_metalinter_command
    394e450a8d fix the path to golangci-lint
    ad0181e4cc fix errorformat for gometalinter
    cf0b9c919e Merge pull request #2184 from bhcleek/lsp/path
    29e545b52b fix gopls commandline
    8c4a062ea8 add support for golangci-lint
    2ab01ab783 Merge pull request #2181 from bhcleek/lsp/completion/errors
    9491e9b2f1 completion: handle errors gracefully
    aa53a86de3 Merge pull request #2179 from bhcleek/lsp/completion/fix-column
    41da476adf fix completion with gopls
    95684f71b5 Merge pull request #2177 from bhcleek/lsp/normalize-initialize
    a66e18d97b use lsp handlers for initialize result
    13191a006b update CHANGELOG.md for #2176
    31ef58c9ef Merge pull request #2176 from bhcleek/gometalinter-save-jump
    d79d7ae1fe respect g:go_jump_to_error when g:go_metalinter_autosave is set
    6e93f7ea56 Merge pull request #2175 from bhcleek/lsp/completion/package-items
    ed52c93ed8 completion: handle missing detail property from gopls
    3b1a3966c8 Merge pull request #2173 from pankona/update-README-for-gopls-notice
    13f9515069 update README.md to notify code completion support via gopls
    0d8a577a33 update CHANGELOG.md for #2171 and #2172
    260f13a323 Merge pull request #2172 from bhcleek/lsp/completion
    579d926ab9 update docs for omnifunc options
    dac81d653d use gopls for autocompletion
    d769e0909d Merge pull request #2171 from bhcleek/lsp/changes
    977f4beb87 notify gopls about changes
    71bb6c7394 Merge pull request #2170 from bhcleek/lsp/status
    109162051c set statusline for gopls actions
    4f85e521c8 Merge pull request #2169 from bhcleek/lsp-neovim
    3c869e43bb fix neovim channel output handling
    510684ed3b update CHANGELOG.md for #2165
    0a24d1301e Merge pull request #2165 from bhcleek/GoDefType
    8b4b0e3cea add :GoDefType
    999e9baed0 use the correct field when outputting gopls errors
    72d29b3d32 update CHANGELOG.md for #2163
    f74b4ee77a Merge pull request #2163 from bhcleek/lsp
    1e73ce2700 teach vim-go to get definition information from gopls
    88ade781e0 add gopls to tools
    e05cf3d17b extract URI encoding function
    87b128f754 lint before running tests
    66d06f380e Merge pull request #2156 from aofei/master
    ce4412f589 clean swp file
    a0dca4a131 correct import path of plugin delve
    4a217ef3a3 Merge pull request #2155 from bhcleek/fix-config-goinfo
    b686b54d1b add getter for g:go_echo_go_info
    679be9028d update CHANGELOG.md for #1975
    d6beab4dd8 Merge pull request #1975 from bhcleek/balloon-info
    11ae81aceb restore balloon settings after debugging
    28555a130e remove some extra spaces
    b70f6d742d add support for balloons
    e5d9593f70 use config function in plugin/go.vim
    7ca4c10755 DRY out identifier info display
    8b00aacfdc Merge pull request #2153 from bhcleek/tool-to-util
    92d376c5c5 move FilterValids from tool.vim to util.vim
    082b1d9931 move ParseErrors from tool.vim to util.vim
    69fd657c16 move OpenBrowser from tool.vim to util.vim
    fedf47285d rename go#util#ExecuteInDir
    70aa194e11 move ExecuteInDir from tool.vim to util.vim
    ba19cd2859 Merge pull request #2152 from bhcleek/def/guru-local
    664aba4a4f set cwd to buffer directory when using guru to jump to definition
    74f2a08100 Merge pull request #2151 from ldelossa/fix/go-def-typo
    fc41fe144c fix typo in function namespace
    241ebab90a update CHANGELOG.md for #2150
    bf951d912e Merge pull request #2150 from ldelossa/godef-in-path
    b83f4c21c6 make vint pass
    ddbbcbfbb6 use dynamic call
    6a0dbe316d remove dead code
    a341b4539c plumb varags into ExecuteInDir
    c860f7c3ae Merge pull request #2147 from desdic/patch-1
    30ef6c80ef Fix small typo
    c6537a3fd3 update CHANGELOG.md for #2143
    96a2c2e73b Merge pull request #2143 from bhcleek/skip-autosave-actions
    77e4fd0600 do not perform autosave actions when file is not readable
    c9b1e29f07 Do not try to format unreadable buffers on save
    d48034fe23 Merge pull request #2142 from bhcleek/fix-nvim-job-stop
    3158b133fe remove breakpoints at the end of debug tests
    88f4969fe0 fix go#job#Wait() in Neovim
    484537f071 update CHANGELOG.md for #2141
    89b7aff66b Merge pull request #2141 from dzruyk/godef_fix
    f282b95705 refer to function argument correctly
    40c9de22bc fix error at go#def#jump_to_declaration when vim-go uses godef
    c45bdfc93f Merge pull request #2139 from jlowgren/master
    97cb654eb0 Fix typo
    
    git-subtree-dir: pack/3rdparty/start/vim-go
    git-subtree-split: 7eda25c97b1b9b178267da27cf309bf7be59e6be
    896cdca2
  • Dustin L. Howett's avatar
    Merge commit '896cdca2' · 5ad2ccbf
    Dustin L. Howett authored
    5ad2ccbf
  • Dustin L. Howett's avatar
    Squashed 'pack/3rdparty/start/ultisnips/' changes from 6fdc3647f7..1a99766b73 · bb35d08e
    Dustin L. Howett authored
    1a99766b73 Give the `abort` argument to all functions (#1048)
    0fdf2ece4f Prioritize local mappings over global ones (#1049)
    0165e50d0d Tag `UltiSnips-snippet-search-path` is obsolete (#1047)
    423aa280b9 Fix typo in README
    
    git-subtree-dir: pack/3rdparty/start/ultisnips
    git-subtree-split: 1a99766b73783bafb08cfa07d7e29e5387c55189
    bb35d08e
  • Dustin L. Howett's avatar
    Merge commit 'bb35d08e' · 6a11c316
    Dustin L. Howett authored
    6a11c316
  • Dustin L. Howett's avatar
    Squashed 'pack/3rdparty/start/vim-snippets/' changes from 075e97b6b6..d693695ae9 · 464b7ce7
    Dustin L. Howett authored
    d693695ae9 Typo
    c8e8b35e9a Add cpp auto alternatives to msp and mup
    a11cf5b47f Add space in `irc` (#1130)
    91ef2dcf1e Javascript async await
    e4ce67117d Fold in es6 snippets as they are now the default
    8bd58e4286 Add redux snippets (#1129)
    3d10470725 Add functional class snippet (#1128)
    f6038760ca Change ClassName => ComponentName
    b67fe1e7dc Add functional class snippet
    7ade68cb23 Assume class, struct, interface match file name
    9827f17134 Fix EEx if/else error
    a79d5b0624 remove whitespaces in some snippets using VISUAL
    1ba4a66c11 Fix argument type and puppet string autogeneration
    40c86d8018 Proper class name generating for puppet, simple include
    4214407a5e Filter snippets
    e859cb3185 Snippets with whitespace control
    c1ca89f5a1 Snippets without whitespace control
    71c702b35b Make class init snippet work with varargs
    560407d63d Change the Arg class to work with type hinting.
    cbbf155916 Add `rdesc` snippet.
    379a652860 Disable all monkey patching done by RSpec.
    1b5f7939fe Vue tabstops (#1117)
    08f9562871 fixes indent
    db11972108 makes requested changes to placeholders
    c65ed0e777 adds header snippets to the c snippets
    1bb2d5a596 remove space
    019f232e2d Elixir word and atom lists (#1114)
    0d7e7fad36 Bring Ruby on Rails snippets up to date (#1100)
    893e6def0f @moduledoc tag without interpolation
    ed3d5cbf2c @doc tag without interpolation
    dd8bd92ff0 Added temporary vim files to gitignore
    9717c7f8d5 Added attribute with short comment snippet
    
    git-subtree-dir: pack/3rdparty/start/vim-snippets
    git-subtree-split: d693695ae9375794a3a0b572fd65e86bfb56ed61
    464b7ce7
  • Dustin L. Howett's avatar
    Merge commit '464b7ce7' · c54b6b74
    Dustin L. Howett authored
    c54b6b74
  • Dustin L. Howett's avatar
    Squashed 'pack/3rdparty/start/vim-fugitive/' changes from ed07f9a503..4da9fb8f43 · 860cc0fd
    Dustin L. Howett authored
    4da9fb8f43 Guard against empty filename checking for conflicts
    0c259e3016 Tighten up autowrite handling
    d0049b4417 Support double quotes for all subcommand wrappers
    e169595314 Fix finishing :Gcommit on :wqa
    a1a40c360d Provide :Gclog and :Gcgrep aliases
    e250f9730e Fix :Gblame on win32
    c33d7fcb9f Show stderr on :Gcommit
    d176cca5ae Don't include trailing newline in fugitive#GitVersion()
    aa68223376 More helpful error on Git without -C
    bdf5a221fb Use standard argument handling for :Gfetch/:Gpush
    fd48cde3b7 Fix escaping when :Grebase calls :Gcommit
    0a758c22b3 Retool :Ggrep
    bb05732d7f Begin phasing out <line2>
    de3f6d977c Fix commands on Vim without <mods>
    5f9602e12f Also support :G command commit:./path
    9afa926a23 Fix subcommand completion to match :Git completion
    23138572f4 Fix :[range]Glog
    ad2e408e15 Treat :G ... ./path as relative to working directory
    f38c59af7c Better error handling for obsolete argument syntax
    6b1e749849 Eliminate :cd in :Gread! and :Gblame
    2ddf4e97ef Work around broken nvim reltime()
    fb66f9a86d Set loclist not qflist title for :Gllog
    9556e59765 Fix :Glog on Vim without quickfix "module" support
    b48f93b550 Use proper argument parsing for :Glog
    0a4eee76e9 Don't hide :Glog errors
    1fb7fa0078 Use correct quickfix commands for :Gllog
    5c3d30223b Further tighten :Glog format
    d22a14192f Don't map file/hunk jumps in blobs
    f71a38db7d Fix argument handling for :Gmerge
    cecfc06be3 Tweak s:Dir() usage
    102b3a50e2 Support next/previous file/hunk in commits
    ebd7c9ddd3 Add next/previous section maps
    45fd3f4cb8 Change interface for jumping directly to blame commit
    eaa0764940 Fix false positve matching :Glog abbreviated SHA
    85a135a9b0 Complete options for subcommand wrappers
    cd78a08543 Retool diffing
    e49b9a9303 Pass bang to :Gblame to get horizontal split
    362ce47ed1 Force hyphen in :Gblame -opts
    668a615559 DWIM for :(top)/absolute/path
    6b02026cf9 Fix :Gblame <CR> with existing q map
    bfe74225fa Use :terminal for :Git add --patch and similar commands
    2cde9172a9 Add section jump maps
    e0d4a281a8 Remove transitional g| mapping
    985861c083 Unify :G and :Git
    d0212919f3 Only map q if no conflict
    7e91b47021 Move blame syntax to separate file
    2b5fdf146a Allow disabling dynamic blame colors
    abefcb6ebd Add --option completion to :Git
    2c13dfff03 Fix completion on :vert Git <Tab>
    2e0570046b Remove reload map
    73b7e5e23f Use proper argument parsing for :Gcommit
    e7f272a36c Change :Git! to split by default
    20bdfee4b7 Extract :Gsplit! implementation
    a50e072587 Fix handling of bar in argument parsing
    2fdba349f5 Make completion more robust
    aa41caf6c7 Lay groundwork for running commands without Git dir
    00bced7c53 Drop support for :Gblame -fn
    f33ac1b2a7 Use proper argument parsing in :Gmerge/:Grebase
    2503a957ff Better helper function names for expanding split
    e87c612491 Jump to appropriate section for s/u on :Gstatus header
    0816915503 Restore popular fugitive#buffer() methods
    81e57453ce Compensate for very old Vim without settabvar()
    873ede7aa4 Provide argument list version of s:UserCommand()
    d1671f1fce Fix :Gedit >
    48e612601b s:BuildShell: fix E706
    fdb57922a4 Update escaping for dynamic :Git invocations
    a025157c5f Don't rely on shell for quoting
    3684c01ef4 Smarter :Gstatus reload
    0f46d5ce32 Don't throw exception on :Gedit :bogus
    ef820b7577 Separate argument massaging from shell quoting
    137433c3c0 Eliminate shell syntax in :Gstatus undo
    ed5ac8dc5d Fix jump to patched line in :Gstatus
    a0e8f59b68 Make :Glog a bit less insufferable
    04c68837d3 Fix stacking untracked files
    a9572e9ea6 Fix inline diff expansion
    4466eeb47a Restore "Untracked" section
    c62d23bc18 Change s:StageInfo() to use absolute paths like s:Selection()
    51c54138ba Fix count on :Gstatus maps
    fc6643c318 Remove hard coded length limit of 40 on hashes
    302ee3b41c Fix P in :Gstatus
    d238736a30 Remove weird FAQ entry
    cf5b43443f Encapsulate "-z" null splitting
    39087fed59 Encapsulate system() plus v:shell_error
    77d86594cc Encapsulate common v:shell_error usages
    17618402fa Remove :terminal special case for Neovim :Git
    461c1beefa Fix extra space in win32 environment variables
    0d6ffcc3a9 Fix docs for :0 removal
    b343a4bec0 Add error handling to s:TreeChomp()
    14649fb858 Restore autowrite before :Gcommit
    3d252dac21 Avoid use of :! in :Gcommit
    cf9c04af06 Eliminate environment juggling in :Gcommit
    74fc4b5eea Avoid intermediary v:errmsg in exception handling
    384c9e1d8e Support :tcd in initialization
    4a94b374d0 Fix bug revealing next hunk
    7c66d544e5 Only target current file if range is given to :Glog
    c8ac43422e Adjust viewport position *after* reload
    9c195de61b Fix dd in :Gstatus staged section
    cb4bb94f7b Fix dd in :Gstatus
    198e9c4128 Improve :Gstatus support for renames
    8e024f9bcc Add <mods> helper function
    192538c0a7 Fix :Gstatus overscroll when already at bottom of document
    0f20c35b62 Fix error on :Gedit with no argument
    fc529da8ae Work around autowrite bug when :terminal is open
    a0815c7010 Retire :Gedit -..., :Gedit @{...}, and :Gedit :n
    aff3359699 Retire :Gedit ^n and :Gedit ~n
    66a927524a Don't map <CR> in editable index buffers
    6d42c7df44 Fix fugitive#isdirectory() with trailing slash
    bf7f05e62b Accept a count to :Git
    41a734ef49 Fix Fugitive activation when historical version does not exist
    a135d10967 Only activate Projectionist if config file exists
    8bbc4d8816 Eliminate repeated $GIT_DIR check
    078ffa6197 Don't assume b:git_dir is an actual directory
    79f3be9f17 Abbreviate commit SHA1s for `:Grebase -i`
    0f9db6af70 Fix garbled screen after :Git! and related commands
    5d99841b22 Fix fugitive#glob('[^x]')
    2bde1d9de6 Don't activate autocmds with tmp filenames
    b27e71c34b Add <nowait> to gq map
    cfbaa27d11 Fix :Gstatus log with unpushed remote
    16b7a060a3 Pass in matching number of arguments for `:Gread`
    1ac2c707e5 Begin moving to standard command implementation interface
    4ec81b5251 New naming scheme for completion functions
    60eac8c974 Call :Gcommit from :Grebase --continue
    1b3668b89f Allow --abbrev as :Gblame argument (#1243)
    3aaeaca87b Fix restore of sequence editor
    59f104075c Revert "Add documentation for --relative-date in :Gblame"
    86d6872ce2 Add documentation for --relative-date in :Gblame
    bd0b87d36a Provide gq to close status buffer
    57b4d848a4 Use :setlocal for all local options
    94723902fb Remove stopgap support for reload after :Dispatch
    ddd0513071 Reblame at HEAD from dirty lines
    b44b7b8ae7 Encapsulate b:git_dir
    0171b2a5b0 Fix function name mutilated by search and replace
    666c4abc12 Brute force mapping jumps
    a69b0b0fd6 Fix unofficial "a" map
    66073d955d Use blamed file when calling :Gbrowse in blame buffer
    1a3c04585b Gblame: allow passing `--relative-date`
    ad32eae7e2 Override color.ui=always
    c5d8b25c5e Don't repeatedly trigger FocusGained on win32
    f259fd5d6d Provide "i"
    755554bb3c Sort untracked files before unstaged files
    28a03d0b00 Provide option for status reloading
    8caa4a0ba3 Try J/K for next/previous
    01b9a645b6 Provide checkout --ours/--theirs on X
    74aefa53ac Support X on newly added file
    654f7f5432 Support "." in visual mode
    26cf153e76 Refactor status spaghetti into dispatch mechanism
    15fb5f68ad Remove duplicate q map
    a489c6e1d3 Fix reveal of hunks on CTRL-N
    02c26619c4 Remove duplicate help tag
    e9705826bd Trailing whitespace
    8c33bdfc26 Update :Gstatus description in README
    b3de2f2284 Handle mysterious tab at the end of a diff filename with spaces
    5c5581386f Redo :Gstatus documentation
    817fc15287 Remove comment
    ce8ddf37fc Fix autocmds & alternate file handling for "index"
    7cb2ca81e3 Use current window for :0Gsplit
    0727261b38 Fix current line assumption
    489201879b Eliminate s:StageReloadSeek()
    8899468c09 Handle `git --version` with `(Apple ...)` suffix
    
    git-subtree-dir: pack/3rdparty/start/vim-fugitive
    git-subtree-split: 4da9fb8f43869125f6e1bb1ff8dd27f315623835
    860cc0fd
  • Dustin L. Howett's avatar
    Merge commit '860cc0fd' · f71da3bc
    Dustin L. Howett authored
    f71da3bc
  • Dustin L. Howett's avatar
    Squashed 'pack/3rdparty/start/vim-repeat/' changes from 43d2678fa5..0b9b5e742f · 437e0c28
    Dustin L. Howett authored
    0b9b5e742f Make an explicit register on repeat override g:repeat_reg
    5974ea07ac Documentation fix for repeat#setreg()
    eb97e729be feedkeys(..., 'i') sends keys in the wrong order in Vim 7.0/1/2
    
    git-subtree-dir: pack/3rdparty/start/vim-repeat
    git-subtree-split: 0b9b5e742f67bc81ae4a1f79318549d3afc90b13
    437e0c28
  • Dustin L. Howett's avatar
    Merge commit '437e0c28' · aca504b8
    Dustin L. Howett authored
    aca504b8
  • Dustin L. Howett's avatar
    Squashed 'pack/3rdparty/start/vim-surround/' changes from 597068870b..ca58a2d886 · c046e4c3
    Dustin L. Howett authored
    ca58a2d886 Documentation for function name replacements (fixes #222)
    
    git-subtree-dir: pack/3rdparty/start/vim-surround
    git-subtree-split: ca58a2d886cc18734c90c9665da4775d444b0c04
    c046e4c3
  • Dustin L. Howett's avatar
    Merge commit 'c046e4c3' · 327f24bb
    Dustin L. Howett authored
    327f24bb
  • Dustin L. Howett's avatar
    Squashed 'pack/3rdparty/start/vim-speeddating/' changes from 799cd3473b..ce2f1aae9f · 727440a0
    Dustin L. Howett authored
    ce2f1aae9f Fix localtime() in neovim
    
    git-subtree-dir: pack/3rdparty/start/vim-speeddating
    git-subtree-split: ce2f1aae9f2be128b4ca322a8e797be3ae40c30b
    727440a0
  • Dustin L. Howett's avatar
    Merge commit '727440a0' · 6aeccea1
    Dustin L. Howett authored
    6aeccea1
  • Dustin L. Howett's avatar
    Squashed 'pack/3rdparty/start/ctrlp/' changes from 879c40da6b..2e773fd8c7 · 66eb0d7f
    Dustin L. Howett authored
    2e773fd8c7 Merge pull request #503 from mnishz/fix_E94_on_help_window
    bfadba0d23 Fix E94 on selecting a file when there is only one help window
    
    git-subtree-dir: pack/3rdparty/start/ctrlp
    git-subtree-split: 2e773fd8c7548526853fff6ee2e642eafbbe3d04
    66eb0d7f
  • Dustin L. Howett's avatar
    Merge commit '66eb0d7f' · d429c85d
    Dustin L. Howett authored
    d429c85d
  • Dustin L. Howett's avatar
    Squashed 'pack/3rdparty/start/neocomplete/' changes from d3b4d2860e..5f3e213c62 · d4e4bffa
    Dustin L. Howett authored
    5f3e213c62 Fix #536 remove foldmethod detection
    
    git-subtree-dir: pack/3rdparty/start/neocomplete
    git-subtree-split: 5f3e213c629b7fe1aa3723bf56fe3ead5555a526
    d4e4bffa
  • Dustin L. Howett's avatar
    Merge commit 'd4e4bffa' · 44e92b51
    Dustin L. Howett authored
    44e92b51
  • Dustin L. Howett's avatar
    Merge commit 'da1d86aa' · d5ddaea7
    Dustin L. Howett authored
    d5ddaea7
  • Dustin L. Howett's avatar
    Squashed 'pack/3rdparty/start/vim-sneak/' changes from 91192d8969..5b670df362 · f6dfd54b
    Dustin L. Howett authored
    5b670df362 doc: highlight
    045b3c0a70 doc: sneak#wrap()
    
    git-subtree-dir: pack/3rdparty/start/vim-sneak
    git-subtree-split: 5b670df36291ca75f5ded5cd7608948d58ff6325
    f6dfd54b
  • Dustin L. Howett's avatar
    Merge commit 'f6dfd54b' · 255cd3b9
    Dustin L. Howett authored
    255cd3b9
  • Dustin L. Howett's avatar
    Squashed 'pack/3rdparty/start/undotree/' changes from db0223fc68..be23eacb2a · 2f5a8507
    Dustin L. Howett authored
    be23eacb2a Merge pull request #98 from elig0n/patch-1
    016858eb91 Removed duplicate command in commands for redefinition
    
    git-subtree-dir: pack/3rdparty/start/undotree
    git-subtree-split: be23eacb2a63380bd79e207a738c728214ecc9d3
    2f5a8507
  • Dustin L. Howett's avatar
    Merge commit '2f5a8507' · 759a9807
    Dustin L. Howett authored
    759a9807
  • Dustin L. Howett's avatar
    Squashed 'pack/3rdparty/start/vim-swap/' content from commit e52ff679c8 · efd8f454
    Dustin L. Howett authored
    git-subtree-dir: pack/3rdparty/start/vim-swap
    git-subtree-split: e52ff679c88f4aa7a7afe77fb42af78c93ed33c8
    efd8f454
  • Dustin L. Howett's avatar
  • Dustin L. Howett's avatar
    update subtrees for vim-swap · ac6f0f2c
    Dustin L. Howett authored
    ac6f0f2c
  • Dustin L. Howett's avatar
    prune old plugins · 2fdd09a8
    Dustin L. Howett authored
    vim-less: superseded by inbox vim
    gitolite: superseded by inbox vim
    gundo, pathogen: directories were already gone
    2fdd09a8
VIM LICENSE
I) There are no restrictions on distributing unmodified copies of Vim except that they must include this license text. You can also distribute unmodified parts of Vim, likewise unrestricted except that they must include this license text. You are also allowed to include executables that you made from the unmodified Vim sources, plus your own usage examples and Vim scripts.
II) It is allowed to distribute a modified (or extended) version of Vim, including executables and/or source code, when the following four conditions are met:
1) This license text must be included unmodified.
2) The modified Vim must be distributed in one of the following five ways:
a) If you make changes to Vim yourself, you must clearly describe in the distribution how to contact you. When the maintainer asks you (in any way) for a copy of the modified Vim you distributed, you must make your changes, including source code, available to the maintainer without fee. The maintainer reserves the right to include your changes in the official version of Vim. What the maintainer will do with your changes and under what license they will be distributed is negotiable. If there has been no negotiation then this license, or a later version, also applies to your changes. The current maintainer is Bram Moolenaar <Bram@vim.org>. If this changes it will be announced in appropriate places (most likely vim.sf.net, www.vim.org and/or comp.editors). When it is completely impossible to contact the maintainer, the obligation to send him your changes ceases. Once the maintainer has confirmed that he has received your changes they will not have to be sent again.
b) If you have received a modified Vim that was distributed as mentioned under a) you are allowed to further distribute it unmodified, as mentioned at I). If you make additional changes the text under a) applies to those changes.
c) Provide all the changes, including source code, with every copy of the modified Vim you distribute. This may be done in the form of a context diff. You can choose what license to use for new code you add. The changes and their license must not restrict others from making their own changes to the official version of Vim.
d) When you have a modified Vim which includes changes as mentioned under c), you can distribute it without the source code for the changes if the following three conditions are met:
- The license that applies to the changes permits you to distribute the changes to the Vim maintainer without fee or restriction, and permits the Vim maintainer to include the changes in the official version of Vim without fee or restriction.
- You keep the changes for at least three years after last distributing the corresponding modified Vim. When the maintainer or someone who you distributed the modified Vim to asks you (in any way) for the changes within this period, you must make them available to him.
- You clearly describe in the distribution how to contact you. This contact information must remain valid for at least three years after last distributing the corresponding modified Vim, or as long as possible.
e) When the GNU General Public License (GPL) applies to the changes, you can distribute the modified Vim under the GNU GPL version 2 or any later version.
3) A message must be added, at least in the output of the ":version" command and in the intro screen, such that the user of the modified Vim is able to see that it was modified. When distributing as mentioned under 2)e) adding the message is only required for as far as this does not conflict with the license used for the changes.
4) The contact information as required under 2)a) and 2)d) must not be removed or changed, except that the person himself can make corrections.
III) If you distribute a modified version of Vim, you are encouraged to use the Vim license for your changes and make them available to the maintainer, including the source code. The preferred way to do this is by e-mail or by uploading the files to a server and e-mailing the URL. If the number of changes is small (e.g., a modified Makefile) e-mailing a context diff will do. The e-mail address to be used is <maintainer@vim.org>
IV) It is not allowed to remove this license from the distribution of the Vim sources, parts of it or from a modified version. You may use this license for previous Vim releases instead of the license that they came with, at your option.
......@@ -1128,8 +1128,9 @@ fu! ctrlp#acceptfile(...)
cal s:PrtExit()
let tail = s:tail()
let j2l = atl != '' ? atl : matchstr(tail, '^ +\zs\d\+$')
let openmyself = bufnr == bufnr('%')
if bufnr > 0 && ( !empty(s:jmptobuf) && s:jmptobuf =~ md )
\ && !( md == 'e' && bufnr == bufnr('%') )
\ && !( md == 'e' && openmyself )
let [jmpb, bufwinnr] = [1, bufwinnr(bufnr)]
let buftab = ( s:jmptobuf =~# '[tTVH]' || s:jmptobuf > 1 )
\ ? s:buftab(bufnr, md) : [0, 0]
......@@ -1146,12 +1147,12 @@ fu! ctrlp#acceptfile(...)
if j2l | cal ctrlp#j2l(j2l) | en
el
" Determine the command to use
let useb = bufnr > 0 && buflisted(bufnr) && ( empty(tail) || useb )
let useb = bufnr > 0 && ( buflisted(bufnr) || openmyself ) && ( empty(tail) || useb )
let cmd =
\ md == 't' || s:splitwin == 1 ? ( useb ? 'tab sb' : 'tabe' ) :
\ md == 'h' || s:splitwin == 2 ? ( useb ? 'sb' : 'new' ) :
\ md == 'v' || s:splitwin == 3 ? ( useb ? 'vert sb' : 'vne' ) :
\ &bt == 'help' ? 'b' :
\ &bt == 'help' && openmyself ? 'b' :
\ call('ctrlp#normcmd', useb ? ['b', 'bo vert sb'] : ['e'])
" Reset &switchbuf option
let [swb, &swb] = [&swb, '']
......
......@@ -1343,7 +1343,7 @@ Buffer Tag mode options:~
*'g:ctrlp_buftag_ctags_bin'*
If ctags isn't in your $PATH, or a ctags binary exists in either
/opt/local/bin or /usr/local/bin, us this to set its location: >
/opt/local/bin or /usr/local/bin, use this to set its location: >
let g:ctrlp_buftag_ctags_bin = ''
<
......
......@@ -100,6 +100,10 @@ Check `:help ctrlp-options` for other options.
## Installation
Use your favorite method or check the homepage for a [quick installation guide][3].
## License
CtrlP is distributed under Vim's [license][4].
[1]: http://i.imgur.com/aOcwHwt.png
[2]: https://github.com/ctrlpvim/ctrlp.vim/tree/extensions
[3]: http://ctrlpvim.github.com/ctrlp.vim#installation
[4]: http://vimdoc.sourceforge.net/htmldoc/uganda.html
PLUGIN = gitolite
vimdir = $(HOME)/.vim
VIM = vim
INSTALL = install
RM = rm -f
VIM_FILES := $(wildcard */*.vim)
ifneq ($(findstring $(MAKEFLAGS),s),s)
ifndef V
QUIET_GEN = @echo ' ' GEN $@;
endif
endif
all: $(PLUGIN).vba.gz
$(PLUGIN).vba.gz: $(PLUGIN).vba
gzip -9 < $< > $@
$(PLUGIN).vba: $(VIM_FILES)
$(QUIET_GEN)printf "%s\n" $^ | $(VIM) \
-c 'let g:vimball_home="."' \
-c '%MkVimball! $(PLUGIN)' \
-c 'q!' - > /dev/null
clean:
$(RM) $(PLUGIN).vba
$(RM) $(PLUGIN).vba.gz
install-vba: $(PLUGIN).vba
$(VIM) -c 'source %' -c 'q' $<
VIM_DIRS := $(addprefix $(DESTDIR)$(vimdir)/,$(dir $(VIM_FILES)))
install:
$(INSTALL) -d -m 755 $(VIM_DIRS)
@for f in $(VIM_FILES); do \
$(INSTALL) -v -m 644 "$$f" "$(DESTDIR)$(vimdir)/$$f"; \
done
dist:
git archive --prefix='$(PLUGIN).vim/' HEAD | gzip -9 > $(PLUGIN).vim.tar.gz
.PHONY: all clean install dist
gitolite.vim
============
Description
-----------
[Vim][] Syntax highlight and indent scripts for [gitolite][] configuration file
`gitolite.conf`.
Installation
------------
gitolite.vim is included in Vim from 7.3.347 on. If you have older Vim or you
want the latest version, you have many options.
1. Pathogen
The recommended method is to install [pathogen.vim][], and then clone
gitolite.vim repository (or copy the content) under _~/.vim/bundle/_:
```sh
cd ~/.vim/bundle
git clone git://github.com/tmatilai/gitolite.vim.git
```
2. Download a released package ("Vimball", _gitolite.vba.gz_) from
[vim.org script page][script_page], open it in Vim and call `:source %s`.
3. You can also create and/or install the Vimball from the source by calling:
```sh
# create the Vimball
make
# create and install it
make install-vba
```
4. Yet another option is to install the files directly:
```sh
# to $HOME/.vim
make install
# or systemwide
sudo make vimdir=/etc/vim install
```
Copyright
---------
Copyright © 2010-2011 Teemu Matilainen <<teemu.matilainen@iki.fi>>
License: [Same as Vim][vim_license] or [Apache 2](http://www.apache.org/licenses/LICENSE-2.0)
[Vim]: http://www.vim.org/
[gitolite]: https://github.com/sitaramc/gitolite
[script_page]: http://www.vim.org/scripts/script.php?script_id=2900
[pathogen.vim]: https://github.com/tpope/vim-pathogen
[vim_license]: http://vimdoc.sourceforge.net/htmldoc/uganda.html#license
autocmd BufNewFile,BufRead gitolite.conf,*/gitolite-admin/conf/* set filetype=gitolite
autocmd BufNewFile,BufRead {,.}gitolite.rc,example.gitolite.rc set filetype=perl
" Vim indent file
" Language: gitolite configuration
" URL: https://github.com/tmatilai/gitolite.vim
" Maintainer: Teemu Matilainen <teemu.matilainen@iki.fi>
" Last Change: 2011-12-24
if exists("b:did_indent")
finish
endif
let b:did_indent = 1
setlocal autoindent
setlocal indentexpr=GetGitoliteIndent()
setlocal indentkeys=o,O,*<Return>,!^F,=repo,\",=
" Only define the function once.
if exists("*GetGitoliteIndent")
finish
endif
let s:cpo_save = &cpo
set cpo&vim
function! GetGitoliteIndent()
let prevln = prevnonblank(v:lnum-1)
let pline = getline(prevln)
let cline = getline(v:lnum)
if cline =~ '^\s*\(C\|R\|RW\|RW+\|RWC\|RW+C\|RWD\|RW+D\|RWCD\|RW+CD\|-\)[ \t=]'
return &sw
elseif cline =~ '^\s*config\s'
return &sw
elseif pline =~ '^\s*repo\s' && cline =~ '^\s*\(#.*\)\?$'
return &sw
elseif cline =~ '^\s*#'
return indent(prevln)
elseif cline =~ '^\s*$'
return -1
else
return 0
endif
endfunction
let &cpo = s:cpo_save
unlet s:cpo_save
" Vim syntax file
" Language: gitolite configuration
" URL: https://github.com/tmatilai/gitolite.vim
" Maintainer: Teemu Matilainen <teemu.matilainen@iki.fi>
" Last Change: 2011-12-25
if exists("b:current_syntax")
finish
endif
let s:cpo_save = &cpo
set cpo&vim
" Comment
syn match gitoliteComment "\(^\|\s\)#.*" contains=gitoliteTodo
syn keyword gitoliteTodo TODO FIXME XXX NOT contained
" Groups, users and repos
syn match gitoliteGroupDef "\(^\s*\)\@<=@[^=]\{-1,}\(\s*=\)\@=" contains=gitoliteSpaceError,gitoliteUserError nextgroup=gitoliteGroupDefSep
syn match gitoliteGroupDefSep "\s*=" contained nextgroup=gitoliteRepoLine
syn match gitoliteRepoDef "^\s*repo\s" nextgroup=gitoliteRepoLine
syn match gitoliteRepoLine ".*" contained transparent contains=gitoliteGroup,gitoliteWildRepo,gitoliteCreator,gitoliteExtCmdHelper,gitoliteRepoError,gitoliteComment
syn match gitoliteUserLine ".*" contained transparent contains=gitoliteGroup,gitolitePreProc,gitoliteUserError,gitoliteComment
syn match gitoliteWildRepo "[ \t=]\@<=[^ \t]*[\\^$|()[\]*?{},][^ \t]*" contained contains=gitoliteCreator,gitoliteRepoError
syn match gitoliteGroup "[ \t=]\@<=@[^ \t]\+" contained contains=gitoliteUserError
syn keyword gitoliteCreator CREATER CREATOR contained
syn keyword gitolitePreProc CREATER CREATOR READERS WRITERS contained
syn match gitoliteExtCmdHelper "[ \t=]\@<=EXTCMD/" contained nextgroup=gitoliteExtCmd
syn match gitoliteExtCmd "rsync\(\s\|$\)" contained
" Illegal characters
syn match gitoliteRepoError "[^ \t0-9a-zA-Z._@+/\\^$|()[\]*?{},-]\+" contained
syn match gitoliteUserError "[^ \t0-9a-zA-Z._@+-]\+" contained
syn match gitoliteSpaceError "\s\+" contained
" Permission
syn match gitoliteKeyword "^\s*\(C\|R\|RW\|RW+\|RWC\|RW+C\|RWD\|RW+D\|RWCD\|RW+CD\)[ \t=]\@=" nextgroup=gitoliteRefex
syn match gitoliteKeyword "^\s*-[ \t=]\@=" nextgroup=gitoliteDenyRefex
syn match gitoliteRefex "[^=]*="he=e-1 contained contains=gitoliteSpecialRefex,gitoliteGroup nextgroup=gitoliteUserLine
syn match gitoliteDenyRefex "[^=]*="he=e-1 contained contains=gitoliteSpecialRefex,gitoliteGroup nextgroup=gitoliteDenyUsers
syn match gitoliteSpecialRefex "\sNAME/"he=e-1 contained
syn match gitoliteSpecialRefex "/USER/"hs=s+1,he=e-1 contained
syn match gitoliteDenyUsers ".*" contained contains=gitoliteUserError,gitoliteComment
" Configuration
syn match gitoliteKeyword "^\s*config\s\+" nextgroup=gitoliteConfVariable
syn match gitoliteConfVariable "[^=]*" contained
" Include
syn match gitoliteInclude "^\s*\(include\|subconf\)\s"
" String
syn region gitoliteString start=+"+ end=+"+ oneline
" Define the default highlighting
hi def link gitoliteComment Comment
hi def link gitoliteTodo Todo
hi def link gitoliteGroupDef gitoliteGroup
hi def link gitoliteGroup Identifier
hi def link gitoliteWildRepo Special
hi def link gitoliteRepoError gitoliteError
hi def link gitoliteUserError gitoliteError
hi def link gitoliteSpaceError gitoliteError
hi def link gitoliteError Error
hi def link gitoliteCreator gitolitePreProc
hi def link gitolitePreProc PreProc
hi def link gitoliteExtCmdHelper PreProc
hi def link gitoliteExtCmd Special
hi def link gitoliteRepoDef Type
hi def link gitoliteKeyword Keyword
hi def link gitoliteRefex String
hi def link gitoliteDenyRefex gitoliteRefex
hi def link gitoliteSpecialRefex PreProc
hi def link gitoliteDenyUsers WarningMsg
hi def link gitoliteConfVariable Identifier
hi def link gitoliteInclude Include
hi def link gitoliteString String
let b:current_syntax = "gitolite"
let &cpo = s:cpo_save
unlet s:cpo_save
......@@ -216,25 +216,6 @@ function! s:check_in_do_auto_complete(event) abort "{{{
if &l:completefunc != '' && &l:buftype =~ 'nofile'
return 1
endif
let neocomplete = neocomplete#get_current_neocomplete()
" Detect foldmethod.
if (&l:foldmethod ==# 'expr' || &l:foldmethod ==# 'syntax')
\ && !neocomplete.detected_foldmethod
\ && a:event !=# 'InsertEnter'
\ && line('.') > 1000
let neocomplete.detected_foldmethod = 1
call neocomplete#print_error(
\ printf('foldmethod = "%s" is detected.', &foldmethod))
redir => foldmethod
verbose setlocal foldmethod?
redir END
for msg in split(substitute(foldmethod, '\t', '', 'g'), "\n")
call neocomplete#print_error(msg)
endfor
call neocomplete#print_error(
\ 'You should disable it or install FastFold plugin.')
endif
endfunction"}}}
function! s:is_skip_auto_complete(cur_text) abort "{{{
let neocomplete = neocomplete#get_current_neocomplete()
......
......@@ -7,7 +7,7 @@ let b:did_autoload_ultisnips = 1
exec g:_uspy "import vim"
exec g:_uspy "from UltiSnips import UltiSnips_Manager"
function! s:compensate_for_pum()
function! s:compensate_for_pum() abort
""" The CursorMovedI event is not triggered while the popup-menu is visible,
""" and it's by this event that UltiSnips updates its vim-state. The fix is
""" to explicitly check for the presence of the popup menu, and update
......@@ -17,7 +17,7 @@ function! s:compensate_for_pum()
endif
endfunction
function! UltiSnips#Edit(bang, ...)
function! UltiSnips#Edit(bang, ...) abort
if a:0 == 1 && a:1 != ''
let type = a:1
else
......@@ -47,12 +47,12 @@ function! UltiSnips#Edit(bang, ...)
exe ':'.mode.' '.escape(file, ' ')
endfunction
function! UltiSnips#AddFiletypes(filetypes)
function! UltiSnips#AddFiletypes(filetypes) abort
exec g:_uspy "UltiSnips_Manager.add_buffer_filetypes('" . a:filetypes . "')"
return ""
endfunction
function! UltiSnips#FileTypeComplete(arglead, cmdline, cursorpos)
function! UltiSnips#FileTypeComplete(arglead, cmdline, cursorpos) abort
let ret = {}
let items = map(
\ split(globpath(&runtimepath, 'syntax/*.vim'), '\n'),
......@@ -68,23 +68,23 @@ function! UltiSnips#FileTypeComplete(arglead, cmdline, cursorpos)
return sort(keys(ret))
endfunction
function! UltiSnips#ExpandSnippet()
function! UltiSnips#ExpandSnippet() abort
exec g:_uspy "UltiSnips_Manager.expand()"
return ""
endfunction
function! UltiSnips#ExpandSnippetOrJump()
function! UltiSnips#ExpandSnippetOrJump() abort
call s:compensate_for_pum()
exec g:_uspy "UltiSnips_Manager.expand_or_jump()"
return ""
endfunction
function! UltiSnips#ListSnippets()
function! UltiSnips#ListSnippets() abort
exec g:_uspy "UltiSnips_Manager.list_snippets()"
return ""
endfunction
function! UltiSnips#SnippetsInCurrentScope(...)
function! UltiSnips#SnippetsInCurrentScope(...) abort
let g:current_ulti_dict = {}
let all = get(a:, 1, 0)
if all
......@@ -94,24 +94,24 @@ function! UltiSnips#SnippetsInCurrentScope(...)
return g:current_ulti_dict
endfunction
function! UltiSnips#SaveLastVisualSelection() range
function! UltiSnips#SaveLastVisualSelection() range abort
exec g:_uspy "UltiSnips_Manager._save_last_visual_selection()"
return ""
endfunction
function! UltiSnips#JumpBackwards()
function! UltiSnips#JumpBackwards() abort
call s:compensate_for_pum()
exec g:_uspy "UltiSnips_Manager.jump_backwards()"
return ""
endfunction
function! UltiSnips#JumpForwards()
function! UltiSnips#JumpForwards() abort
call s:compensate_for_pum()
exec g:_uspy "UltiSnips_Manager.jump_forwards()"
return ""
endfunction
function! UltiSnips#AddSnippetWithPriority(trigger, value, description, options, filetype, priority)
function! UltiSnips#AddSnippetWithPriority(trigger, value, description, options, filetype, priority) abort
exec g:_uspy "trigger = vim.eval(\"a:trigger\")"
exec g:_uspy "value = vim.eval(\"a:value\")"
exec g:_uspy "description = vim.eval(\"a:description\")"
......@@ -122,7 +122,7 @@ function! UltiSnips#AddSnippetWithPriority(trigger, value, description, options,
return ""
endfunction
function! UltiSnips#Anon(value, ...)
function! UltiSnips#Anon(value, ...) abort
" Takes the same arguments as SnippetManager.expand_anon:
" (value, trigger="", description="", options="")
exec g:_uspy "args = vim.eval(\"a:000\")"
......@@ -131,23 +131,23 @@ function! UltiSnips#Anon(value, ...)
return ""
endfunction
function! UltiSnips#CursorMoved()
function! UltiSnips#CursorMoved() abort
exec g:_uspy "UltiSnips_Manager._cursor_moved()"
endf
function! UltiSnips#LeavingBuffer()
function! UltiSnips#LeavingBuffer() abort
exec g:_uspy "UltiSnips_Manager._leaving_buffer()"
endf
function! UltiSnips#LeavingInsertMode()
function! UltiSnips#LeavingInsertMode() abort
exec g:_uspy "UltiSnips_Manager._leaving_insert_mode()"
endfunction
function! UltiSnips#TrackChange()
function! UltiSnips#TrackChange() abort
exec g:_uspy "UltiSnips_Manager._track_change()"
endfunction
function! UltiSnips#RefreshSnippets()
function! UltiSnips#RefreshSnippets() abort
exec g:_uspy "UltiSnips_Manager._refresh_snippets()"
endfunction
" }}}
......@@ -53,7 +53,7 @@ if !exists("g:UltiSnipsEnableSnipMate")
let g:UltiSnipsEnableSnipMate = 1
endif
function! UltiSnips#map_keys#MapKeys()
function! UltiSnips#map_keys#MapKeys() abort
if g:UltiSnipsExpandTrigger == g:UltiSnipsJumpForwardTrigger
exec "inoremap <silent> " . g:UltiSnipsExpandTrigger . " <C-R>=UltiSnips#ExpandSnippetOrJump()<cr>"
exec "snoremap <silent> " . g:UltiSnipsExpandTrigger . " <Esc>:call UltiSnips#ExpandSnippetOrJump()<cr>"
......
......@@ -11,7 +11,7 @@ let s:source = {
\ ['matcher_fuzzy'] : ['matcher_head']),
\ }
function! s:source.gather_candidates(context)
function! s:source.gather_candidates(context) abort
let suggestions = []
let snippets = UltiSnips#SnippetsInCurrentScope()
for trigger in keys(snippets)
......@@ -24,7 +24,7 @@ function! s:source.gather_candidates(context)
return suggestions
endfunction
function! neocomplete#sources#ultisnips#define()
function! neocomplete#sources#ultisnips#define() abort
return s:source
endfunction
......
......@@ -28,7 +28,7 @@ function! s:unite_source.hooks.on_syntax(args, context) abort
highlight default link uniteSource__UltisnipsDescription Statement
endfunction
function! s:unite_source.action_table.preview.func(candidate)
function! s:unite_source.action_table.preview.func(candidate) abort
" no nice preview at this point, cannot get snippet text
let snippet_preview = a:candidate['word']
echo snippet_preview
......@@ -39,14 +39,14 @@ let s:unite_source.action_table.expand = {
\ 'is_quit': 1
\}
function! s:unite_source.action_table.expand.func(candidate)
function! s:unite_source.action_table.expand.func(candidate) abort
let delCurrWord = (getline(".")[col(".")-1] == " ") ? "" : "diw"
exe "normal " . delCurrWord . "a" . a:candidate['trigger'] . " "
call UltiSnips#ExpandSnippet()
return ''
endfunction
function! s:unite_source.get_longest_snippet_len(snippet_list)
function! s:unite_source.get_longest_snippet_len(snippet_list) abort
let longest = 0
for snip in items(a:snippet_list)
if strlen(snip['word']) > longest
......@@ -56,7 +56,7 @@ function! s:unite_source.get_longest_snippet_len(snippet_list)
return longest
endfunction
function! s:unite_source.gather_candidates(args, context)
function! s:unite_source.gather_candidates(args, context) abort
let default_val = {'word': '', 'unite__abbr': '', 'is_dummy': 0, 'source':
\ 'ultisnips', 'unite__is_marked': 0, 'kind': 'command', 'is_matched': 1,
\ 'is_multiline': 0}
......@@ -72,7 +72,7 @@ function! s:unite_source.gather_candidates(args, context)
return canditates
endfunction
function! unite#sources#ultisnips#define()
function! unite#sources#ultisnips#define() abort
return s:unite_source
endfunction
......
......@@ -218,8 +218,8 @@ g:UltiSnipsSnippetsDir
Also, this setting does not affect where snippets
are searched for, so it is possible to change this
to opening files that are then not found by
UltiSnips. See |UltiSnips-snippet-search-path| for
details.
UltiSnips. See |UltiSnips-how-snippets-are-loaded|
for details.
*g:UltiSnipsSnippetDirectories*
g:UltiSnipsSnippetDirectories
......@@ -533,7 +533,7 @@ this list.
UltiSnips will search each 'runtimepath' directory for the subdirectory names
defined in g:UltiSnipsSnippetDirectories in the order they are defined. For
example, if you keep your snippets in `~/.vim/mycoolsnippets`and you want to
example, if you keep your snippets in `~/.vim/mycoolsnippets` and you want to
make use of the UltiSnips snippets that come with other plugins, add the
following to your vimrc file. >
......
......@@ -345,13 +345,13 @@ class SnippetManager(object):
if self._inner_state_up:
return
if self.expand_trigger != self.forward_trigger:
_vim.command('inoremap <buffer> <silent> ' + self.forward_trigger +
_vim.command('inoremap <buffer><nowait><silent> ' + self.forward_trigger +
' <C-R>=UltiSnips#JumpForwards()<cr>')
_vim.command('snoremap <buffer> <silent> ' + self.forward_trigger +
_vim.command('snoremap <buffer><nowait><silent> ' + self.forward_trigger +
' <Esc>:call UltiSnips#JumpForwards()<cr>')
_vim.command('inoremap <buffer> <silent> ' + self.backward_trigger +
_vim.command('inoremap <buffer><nowait><silent> ' + self.backward_trigger +
' <C-R>=UltiSnips#JumpBackwards()<cr>')
_vim.command('snoremap <buffer> <silent> ' + self.backward_trigger +
_vim.command('snoremap <buffer><nowait><silent> ' + self.backward_trigger +
' <Esc>:call UltiSnips#JumpBackwards()<cr>')
# Setup the autogroups.
......
### [Project on Vim.org](http://www.vim.org/scripts/script.php?script_id=4177)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/mbbill/undotree?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
### Screenshot
![](https://sites.google.com/site/mbbill/undotree_new.png)
### Description
Vim 7.0 added a new feature named **Undo branches**. Basically it's a kind of ability to go back to the text after any change, even if they were undone. Vim stores undo history in a tree which you can browse and manipulate through a bunch of commands. But that was not enough straightforward and a bit hard to use. You may use `:help new-undo-branches` or `:help undo-tree` to get more detailed help.
Now this plug-in will free you from those commands and bring back the power of undo tree.
### Features
1. Visualize undo-tree
* The undo history is sorted based on the changes' timestamp. The year/month/day field will not be displayed if the changes were made within the same day.
* The change sequence number is displayed before timestamp.
* The current position is marked as **>seq<**.
* The next change that will be restored by `:redo` or `<ctrl-r>` is marked as **{seq}**, it's the same as *curhead* returned by *undotree()*
* The **[seq]** marks the last change and where further changes will be added, it's the same as *newhead* returned by *undotree()*
* Saved changes are marked as **s** and the capitalized **S** indicates the last saved change.
1. Live updated diff panel.
1. Highlight for added and changed text.
1. Revert to a specific change by a single mouse click or key stroke.
1. Customizable hotkeys and highlighting.
1. Display changes in diff panel.
### [Download](https://github.com/mbbill/undotree/tags)
### Install
1. Unpack all scripts into *.vim* directory and that's all. This script is written purely in Vim script with no additional dependency.
1. It's highly recommend using **pathogen** or **Vundle** to manage your plug-ins.
The plug-in visualizes undo history and makes it easier to browse and switch between different undo branches. You might wonder what is undo "branches"? It's vim feature that allows you to go back to a state when it is overwritten by a latest edit. For most editors, if you make a change A, then B, then go back to A and make change C, normally you won't be able to go back to B because undo history is linear. That's not the case for Vim because it internally keeps all the edit history like a tree structure, and this plug-in exposes the tree to you so that you not only can switch back and forth but also can switch between branches.
Some people have questions about file contents being changed when switching between undo history states. Don't worry, *undotree* will **NEVER** save your data or write to disk. All it does is to change the current buffer little bit, just like those auto-completion plug-ins do. It just adds or removes something in the buffer temporarily, and if you don't like you can always go back to the last state easily. Let's say, you made some change but didn't save, then you use *undotree* and go back to an arbitrary version, your unsaved change doesn't get lost - it stores in the latest undo history node. Clicking that node on *undotree* will bring you back instantly. Play with undo/redo on other editors is always dangerous because when you step back and accidentally typed something, boom! You lose your edits. But don't worry, that won't happen in Vim. Then you might ask what if I make some changes without saving and switch back to an old version and then **exit**? Well, imaging what would happen if you don't have *undotree*? You lose your latest edits and the file on disk is your last saved version. This behaviour **remains the same** with *undotree*. So, if you saved, you won't lose anything.
We all know that usually undo/redo is only for the current edit session. It's stored in memory and once the process exits, the undo history is lost. Although *undotree* makes switching between history states easier, it doesn't do more than that. Sometimes it would be much safer or more convenient to keep the undo history across edit sessions. In this case you might need to enable a Vim feature called *persistent undo*. Let me explain how persistent undo works: instead of keeping undo history in *RAM*, persistent undo keeps undo history in file. Let's say you make a change A, then B, then go back to A and make change C, then you *save* the file. Now Vim save the file with content state C, and in the mean time it saves **the entire** undo history to a file including state A, B and C. Next time when you open the file, Vim will also restore undo history. So you can still go back to B. The history file is incremental, and every change will be recorded permanently, kind of like Git. You might think that's too much, well, *undotree* does provide a way to clean them up. If you need to enable *persistent undo*, type ```:h persistent-undo``` or follow the instructions below.
Undotree is written in **pure Vim script** and doesn't rely on any third party tools. It's lightweight, simple and fast. It only does what it supposed to do, and it only runs when you need it.
### Download and Install
Use whatever plug-in manager to pull the master branch.
### Usage
1. Use `:UndotreeToggle` to toggle the undo-tree panel. You may want to map this command to whatever hotkey by adding the following line to your vimrc, take F5 for example.
nnoremap &lt;F5&gt; :UndotreeToggle&lt;cr&gt;
1. Then you can try to do some modification, and the undo tree will automatically updated afterwards.
1. There are some hotkeys provided by vim to switch between the changes in history, like `u`, `<ctrl-r>`, `g+`, `g-` as well as the `:earlier` and `:later` commands.
1. You may also switch to undotree panel and use the hotkeys to switch between history versions. Press `?` in undotree window for quick help of hotkeys.
1. You can monitor the changed text in diff panel which is automatically updated when undo/redo happens.
1. Markers
* Every change has a sequence number and it is displayed before timestamps.
* The current state is marked as `> number <`.
* The next state which will be restored by `:redo` or `<ctrl-r>` is marked as `{ number }`.
* The `[ number ]` marks the most recent change.
* The undo history is sorted by timestamps.
* Saved changes are marked as `s` and the big `S` indicates the most recent saved change.
1. Press `?` in undotree window for quick help.
1. Persistent undo
* It is highly recommend to enable the persistent undo. If you don't like your working directory be messed up with the undo file everywhere, you may add the following line to your *vimrc* in order to make them stored together.
// In your vimrc
* Usually I would like to store the undo files in a seperate place like below.
if has("persistent_undo")
set undodir=~/.undodir/
set undofile
endif
```
if has("persistent_undo")
set undodir=$HOME."/.undodir"
set undofile
endif
```
### Configuration
1. Basically, you do not need any configuration to let it work, cool?
1. But if you still want to do some customization, there is also a couple of options provided.
* [Here](https://github.com/mbbill/undotree/blob/master/plugin/undotree.vim#L15) is a list of these options.
### Post any issue and feature request here:
https://github.com/mbbill/undotree/issues
[Here](https://github.com/mbbill/undotree/blob/master/plugin/undotree.vim#L15) is a list of options.
### Debug
1. Create a file under $HOME with the name `undotree_debug.log`
......@@ -63,16 +59,6 @@ https://github.com/mbbill/undotree/issues
* `$tail -F ~/undotree_debug.log`
1. If you want to disable debug, just delete that file.
### Alternatives
Someone asked me about the difference with [Gundo](https://bitbucket.org/sjl/gundo.vim/), here is a list of differences, or advantages.
1. Pure vimscript implementation and no 3rd-party libraries(like python) is needed, don't worry about performance, it's not such a big deal for vim to handle this. The only dependency is the 'diff' tool which always shipped with vim and even without 'diff' you still can use most of the features of this script.
1. Realtime updated undo tree. Once you make changes, the undo tree will be updated simultaneously.
1. Several useful marks, like current changeset, next redo changeset, saved changeset, etc.
1. Toggle between relative timestamp and absolute timestamp.
1. Realtime updated undo window.
1. Ability to clear undo history.
1. More customizable.
### License
**BSD**
......
......@@ -1320,15 +1320,19 @@ endfunction
function! s:exitIfLast() abort
let num = 0
if t:undotree.IsVisible()
if exists('t:undotree') && t:undotree.IsVisible()
let num = num + 1
endif
if t:diffpanel.IsVisible()
if exists('t:diffpanel') && t:diffpanel.IsVisible()
let num = num + 1
endif
if winnr('$') == num
call t:undotree.Hide()
call t:diffpanel.Hide()
if exists('t:undotree')
call t:undotree.Hide()
endif
if exists('t:diffpanel')
call t:diffpanel.Hide()
endif
endif
endfunction
......
*undotree.txt* Display your undo history in a graph
*undotree.txt* The undo history visualizer for VIM
Author: Ming Bai <mbbill AT gmail DOT COM>
Licence: BSD
Homepage: https://github.com/mbbill/undotree/
Version: 4.3
==============================================================================
CONTENTS *undotree-contents*
......@@ -34,13 +33,53 @@ CONTENTS *undotree-contents*
==============================================================================
1. Intro *undotree-intro*
Vim 7.0 added a new feature named Undo branches. Basically it's a kind of
ability to go back to the text after any change, even if they were undone. Vim
stores undo history in a tree which you can browse and manipulate through a
bunch of commands. But that was not enough straightforward and a bit hard to
use. You may use :help |new-undo-branches| or :help |undo-tree| to get more
detailed help. Now this plug-in will free you from those commands and bring
back the power of undo tree.
The plug-in visualizes undo history and makes it easier to browse and switch
between different undo branches. You might wonder what is undo "branches"?
It's vim feature that allows you to go back to a state when it is overwritten
by a latest edit. For most editors, if you make a change A, then B, then go
back to A and make change C, normally you won't be able to go back to B
because undo history is linear. That's not the case for Vim because it
internally keeps all the edit history like a tree structure, and this plug-in
exposes the tree to you so that you not only can switch back and forth but
also can switch between branches.
Some people have questions about file contents being changed when switching
between undo history states. Don't worry, undotree will NEVER save your data
or write to disk. All it does is to change the current buffer little bit, just
like those auto-completion plug-ins do. It just adds or removes something in
the buffer temporarily, and if you don't like you can always go back to the
last state easily. Let's say, you made some change but didn't save, then you
use undotree and go back to an arbitrary version, your unsaved change doesn't
get lost - it stores in the latest undo history node. Clicking that node on
undotree will bring you back instantly. Play with undo/redo on other editors
is always dangerous because when you step back and accidentally typed
something, boom! You lose your edits. But don't worry, that won't happen in
Vim. Then you might ask what if I make some changes without saving and switch
back to an old version and then exit? Well, imaging what would happen if you
don't have undotree? You lose your latest edits and the file on disk is your
last saved version. This behaviour remains the same with undotree. So, if you
saved, you won't lose anything.
We all know that usually undo/redo is only for the current edit session. It's
stored in memory and once the process exits, the undo history is lost.
Although undotree makes switching between history states easier, it doesn't do
more than that. Sometimes it would be much safer or more convenient to keep
the undo history across edit sessions. In this case you might need to enable a
Vim feature called persistent undo. Let me explain how persistent undo works:
instead of keeping undo history in RAM, persistent undo keeps undo history in
file. Let's say you make a change A, then B, then go back to A and make change
C, then you save the file. Now Vim save the file with content state C, and in
the mean time it saves the entire undo history to a file including state A, B
and C. Next time when you open the file, Vim will also restore undo history.
So you can still go back to B. The history file is incremental, and every
change will be recorded permanently, kind of like Git. You might think that's
too much, well, undotree does provide a way to clean them up. If you need to
enable persistent undo, type :h persistent-undo or follow the instructions
below.
Undotree is written in pure Vim script and doesn't rely on any third party
tools. It's lightweight, simple and fast. It only does what it supposed to do,
and it only runs when you need it.
==============================================================================
2. Usage *undotree-usage*
......@@ -51,26 +90,30 @@ for example.
>
nnoremap <F5> :UndotreeToggle<cr>
<
Then you can try to do some modification, and the undo tree will automatically
updated afterwards.
Markers
There are some hotkeys provided by vim to switch between the changes in
history, like |u|, |<c-r>|, |g+|, |g-| as well as the |:earlier| and |:later|
commands.
* Every change has a sequence number and it is displayed before timestamps.
You may also switch to undotree panel and use the hotkeys to switch between
history versions. Press ? in undotree window for quick help of hotkeys.
* The current state is marked as > number <.
You can monitor the changed text in diff panel which is automatically updated
when undo/redo happens.
* The next state which will be restored by :redo or <ctrl-r> is marked as
{ number }.
Persistent undo.
It is highly recommend to enable the persistent undo. If you don't like your
working directory be messed up with the undo file everywhere, you may add the
following line to your vimrc in order to make them stored together.
* The [ number ] marks the most recent change.
* The undo history is sorted by timestamps.
* Saved changes are marked as s and the big S indicates the most recent
saved change.
* Press ? in undotree window for quick help.
Persistent undo
Usually I would like to store the undo files in a seperate place like below.
>
if has("persistent_undo")
set undodir='~/.undodir/'
set undodir=$HOME."/.undodir"
set undofile
endif
<
......@@ -344,7 +387,6 @@ List of the commands available for redefinition.
<plug>UndotreeRedo
<plug>UndotreeUndo
<plug>UndotreeEnter
<plug>UndotreeEnter
<
------------------------------------------------------------------------------
......@@ -362,6 +404,9 @@ https://github.com/mbbill/undotree/issues
==============================================================================
5. Changelog *undotree-changelog*
Further changes will not be recorded. Please go to github page for more
information.
4.4 (2017-10-15)
- Autoload plugin functions
......
......@@ -2,7 +2,7 @@
" Language: C++ Additions
" Maintainer: Jon Haggblad <jon@haeggblad.com>
" URL: http://www.haeggblad.com
" Last Change: 1 Feb 2018
" Last Change: 29 Jun 2019
" Version: 0.6
" Changelog:
" 0.1 - initial version.
......@@ -960,6 +960,12 @@ if !exists("cpp_no_cpp11")
syntax keyword cppSTLtype atomic_uintmax_t
syntax keyword cppSTLconstant ATOMIC_FLAG_INIT
syntax keyword cppSTLenum memory_order
syntax keyword cppSTLtype memory_order_relaxed
syntax keyword cppSTLtype memory_order_consume
syntax keyword cppSTLtype memory_order_acquire
syntax keyword cppSTLtype memory_order_release
syntax keyword cppSTLtype memory_order_acq_rel
syntax keyword cppSTLtype memory_order_seq_cst
syntax keyword cppSTLfunction is_lock_free
syntax keyword cppSTLfunction compare_exchange_weak
syntax keyword cppSTLfunction compare_exchange_strong
......@@ -1979,6 +1985,9 @@ endif " C++17
if !exists("cpp_no_cpp20")
" type_traits
syntax keyword cppSTLtype remove_cvref remove_cvref_t
syntax keyword cppType char8_t
syntax keyword cppStatement co_yield co_return co_await
syntax keyword cppStorageClass consteval
endif
......
......@@ -10,10 +10,10 @@ version of the file side by side with the working tree version and use
Vim's diff handling capabilities to stage a subset of the file's
changes.
Bring up the output of `git status` with `:Gstatus`. Press `-` to
`add`/`reset` a file's changes, or `p` to `add`/`reset` `--patch`. Use
`:Gcommit %` to commit the current file, editing the commit message inside
the currently running Vim.
Bring up an enhanced version of `git status` with `:Gstatus`. Press `-` to
`add`/`reset` a file's changes, or `=` to expand an inline diff and operate on
individual hunks. Use `:Gcommit %` to commit the current file, editing the
commit message inside the currently running Vim.
`:Gblame` brings up an interactive vertical split with `git blame`
output. Press enter on a line to edit the commit where the line
......@@ -39,8 +39,8 @@ making it like `git add` when called from a work tree file and like
Use `:Gbrowse` to open the current file on the web front-end of your favorite
hosting provider, with optional line range (try it in visual mode!). Plugins
are available for popular providers such as [GitHub][rhubarb.vim],
[GitLab][fugitive-gitlab.vim], [Bitbucket][fubitive.vim],
and [Gitee][fugitive-gitee.vim].
[GitLab][fugitive-gitlab.vim], [Bitbucket][fubitive.vim], and
[Gitee][fugitive-gitee.vim].
[rhubarb.vim]: https://github.com/tpope/vim-rhubarb
[fugitive-gitlab.vim]: https://github.com/shumphrey/fugitive-gitlab.vim
......@@ -71,10 +71,6 @@ and paste:
git clone https://github.com/tpope/vim-fugitive.git
vim -u NONE -c "helptags vim-fugitive/doc" -c q
If your Vim version is below 7.2, I recommend also installing
[vim-git](https://github.com/tpope/vim-git) for syntax highlighting and
other Git niceties.
## FAQ
> Why don't any of the commands exist?
......@@ -83,21 +79,6 @@ Fugitive cares about the current file, not the current working directory.
Edit a file from the repository. To avoid the blank window problem, favor
commands like `:split` and `:tabedit` over commands like `:new` and `:tabnew`.
> Here's a patch that automatically opens the quickfix window after
> `:Ggrep`.
This is a great example of why I recommend asking before patching.
There are valid arguments to be made both for and against automatically
opening the quickfix window. Whenever I have to make an arbitrary
decision like this, I ask what Vim would do. And Vim does not open a
quickfix window after `:grep`.
Luckily, it's easy to implement the desired behavior without changing
fugitive.vim. The following autocommand will cause the quickfix window
to open after any grep invocation:
autocmd QuickFixCmdPost *grep* cwindow
## Self-Promotion
Like fugitive.vim? Follow the repository on
......
......@@ -29,7 +29,7 @@ function! FugitiveCommonDir(...) abort
endfunction
function! FugitiveWorkTree(...) abort
return FugitiveTreeForGitDir(FugitiveGitDir(a:0 ? a:1 : -1))
return s:Tree(FugitiveGitDir(a:0 ? a:1 : -1))
endfunction
function! FugitiveReal(...) abort
......@@ -103,14 +103,14 @@ endfunction
function! FugitiveIsGitDir(path) abort
let path = substitute(a:path, '[\/]$', '', '') . '/'
return getfsize(path.'HEAD') > 10 && (
return len(a:path) && getfsize(path.'HEAD') > 10 && (
\ isdirectory(path.'objects') && isdirectory(path.'refs') ||
\ getftype(path.'commondir') ==# 'file')
endfunction
let s:worktree_for_dir = {}
let s:dir_for_worktree = {}
function! FugitiveTreeForGitDir(path) abort
function! s:Tree(path) abort
let dir = a:path
if dir =~# '/\.git$'
return len(dir) ==# 5 ? '/' : dir[0:-6]
......@@ -159,9 +159,11 @@ function! FugitiveExtractGitDir(path) abort
endif
let root = resolve(path)
if root !=# path
silent! exe haslocaldir() ? 'lcd .' : 'cd .'
silent! exe (haslocaldir() ? 'lcd' : exists(':tcd') && haslocaldir(-1) ? 'tcd' : 'cd') '.'
endif
let previous = ""
let env_git_dir = len($GIT_DIR) ? s:Slash(simplify(fnamemodify($GIT_DIR, ':p:s?[\/]$??'))) : ''
call s:Tree(env_git_dir)
while root !=# previous
if root =~# '\v^//%([^/]+/?)?$'
break
......@@ -169,14 +171,10 @@ function! FugitiveExtractGitDir(path) abort
if index(split($GIT_CEILING_DIRECTORIES, ':'), root) >= 0
break
endif
if root ==# $GIT_WORK_TREE && FugitiveIsGitDir($GIT_DIR)
return simplify(fnamemodify($GIT_DIR, ':p:s?[\/]$??'))
endif
if FugitiveIsGitDir($GIT_DIR)
call FugitiveWorkTree(simplify(fnamemodify($GIT_DIR, ':p:s?[\/]$??')))
if has_key(s:dir_for_worktree, root)
return s:dir_for_worktree[root]
endif
if root ==# $GIT_WORK_TREE && FugitiveIsGitDir(env_git_dir)
return env_git_dir
elseif has_key(s:dir_for_worktree, root)
return s:dir_for_worktree[root]
endif
let dir = substitute(root, '[\/]$', '', '') . '/.git'
let type = getftype(dir)
......@@ -228,13 +226,16 @@ function! s:ProjectionistDetect() abort
let dir = FugitiveExtractGitDir(file)
let base = matchstr(file, '^fugitive://.\{-\}//\x\+')
if empty(base)
let base = FugitiveTreeForGitDir(dir)
let base = s:Tree(dir)
endif
if len(base)
if exists('+shellslash') && !&shellslash
let base = tr(base, '/', '\')
endif
call projectionist#append(base, FugitiveCommonDir(dir) . '/info/projections.json')
let file = FugitiveCommonDir(dir) . '/info/projections.json'
if filereadable(file)
call projectionist#append(base, file)
endif
endif
endfunction
......@@ -251,21 +252,21 @@ augroup fugitive
autocmd CmdWinEnter * call FugitiveDetect(expand('#:p'))
autocmd FileType git
\ if exists('b:git_dir') |
\ if len(FugitiveGitDir()) |
\ call fugitive#MapJumps() |
\ call fugitive#MapCfile() |
\ endif
autocmd FileType gitcommit
\ if exists('b:git_dir') |
\ if len(FugitiveGitDir()) |
\ call fugitive#MapCfile('fugitive#MessageCfile()') |
\ endif
autocmd FileType fugitive
\ if exists('b:git_dir') |
\ if len(FugitiveGitDir()) |
\ call fugitive#MapCfile('fugitive#StatusCfile()') |
\ endif
autocmd FileType gitrebase
\ let &l:include = '^\%(pick\|squash\|edit\|reword\|fixup\|drop\|[pserfd]\)\>' |
\ if exists('b:git_dir') |
\ if len(FugitiveGitDir()) |
\ let &l:includeexpr = 'v:fname =~# ''^\x\{4,40\}$'' ? FugitiveFind(v:fname) : ' .
\ (len(&l:includeexpr) ? &l:includeexpr : 'v:fname') |
\ endif |
......@@ -276,9 +277,14 @@ augroup fugitive
\ let b:git_dir = s:Slash(expand('<amatch>:p:h')) |
\ exe fugitive#BufReadStatus() |
\ elseif filereadable(expand('<amatch>')) |
\ read <amatch> |
\ silent doautocmd BufReadPre |
\ keepalt read <amatch> |
\ 1delete_ |
\ silent doautocmd BufReadPost |
\ else |
\ silent doautocmd BufNewFile |
\ endif
autocmd BufReadCmd fugitive://*//* exe fugitive#BufReadCmd()
autocmd BufWriteCmd fugitive://*//[0-3]/* exe fugitive#BufWriteCmd()
autocmd FileReadCmd fugitive://*//* exe fugitive#FileReadCmd()
......
......@@ -22,7 +22,7 @@ syn match FugitiveSymbolicRef /\.\@!\%(\.\.\@!\|[^[:space:][:cntrl:]\:.]\)\+\.\@
syn match fugitiveHash /^\x\{4,\}\>/ contained containedin=fugitiveSection
syn match fugitiveHash /\<\x\{4,\}\>/ contained
syn region fugitiveHunk start=/^\%(@@ -\)\@=/ end=/^\%(diff --\%(git\|cc\|combined\) \|@@\|$\)\@=/ contains=@fugitiveDiff containedin=fugitiveSection fold
syn region fugitiveHunk start=/^\%(@@ -\)\@=/ end=/^\%([A-Za-z?@]\|$\)\@=/ contains=@fugitiveDiff containedin=fugitiveSection fold
hi def link fugitiveHeader Label
hi def link fugitiveHeading PreProc
......
if exists("b:current_syntax")
finish
endif
call fugitive#BlameSyntax()
let b:current_syntax = "fugitiveblame"
.local/
.config/
.cache/
.dlv/
.git/
.viminfo
### What did you do? (required. The issue will be **closed** when not provided.)
### What did you do? (required: The issue will be **closed** when not provided)
<!--
If possible, please provide clear steps for reproducing the problem.
-->
### What did you expect to happen?
### What happened instead?
### Configuration (**MUST** fill this out):
* vim-go version:
#### vim-go version:
#### `vimrc` you used to reproduce (use a *minimal* vimrc with other plugins disabled; do not link to a 2,000 line vimrc):
<details><summary>vimrc</summary><br><pre>
* `vimrc` you used to reproduce (use a *minimal* vimrc with other plugins disabled; do not link to a 2,000 line vimrc):
</pre></details>
* Vim version (first three lines from `:version`):
#### Vim version (first three lines from `:version`):
<!-- :version -->
* Go version (`go version`):
#### Go version (`go version`):
<!-- go version -->
* Go environment (`go env`):
#### Go environment
<details><summary><code>go env</code> Output:</summary><br><pre>
<!-- go env -->
</pre></details>
language: go
go:
- 1.11.x
- 1.12.1
notifications:
email: false
matrix:
......
This diff is collapsed.
FROM golang:1.11
FROM golang:1.12.4
RUN apt-get update -y && \
apt-get install -y build-essential curl git libncurses5-dev python3-pip && \
......
VIMS ?= vim-7.4 vim-8.0 nvim
all: install test lint
all: install lint test
install:
@echo "==> Installing Vims: $(VIMS)"
......
......@@ -13,7 +13,7 @@ This plugin adds Go language support for Vim, with the following main features:
* Quickly execute your current file(s) with `:GoRun`.
* Improved syntax highlighting and folding.
* Debug programs with integrated `delve` support with `:GoDebugStart`.
* Completion support via `gocode`.
* Completion support via `gocode` and `gopls`.
* `gofmt` or `goimports` on save keeps the cursor position and undo history.
* Go to symbol/declaration with `:GoDef`.
* Look up documentation with `:GoDoc` or `:GoDocBrowser`.
......@@ -68,7 +68,16 @@ Depending on your installation method, you may have to generate the plugin's
[`help tags`](http://vimhelp.appspot.com/helphelp.txt.html#%3Ahelptags)
manually (e.g. `:helptags ALL`).
We also have an [official vim-go tutorial](https://github.com/fatih/vim-go-tutorial).
We also have an [official vim-go tutorial](https://github.com/fatih/vim-go/wiki).
## FAQ and troubleshooting
The FAQ and troubleshooting tips are in the documentation and can be quickly
accessed using `:help go-troubleshooting`. If you believe you've found a bug or
shortcoming in vim-go that is neither addressed by help nor in [existing
issues](https://github.com/fatih/vim-go/issues), please open an issue with
clear reproduction steps. `:GoReportGitHubIssue` can be used pre-populate a lot
of the information needed when creating a new issue.
## License
......
" don't spam the user when Vim is started in Vi compatibility mode
let s:cpo_save = &cpo
set cpo&vim
function! go#auto#template_autocreate()
if !go#config#TemplateAutocreate() || !&modifiable
return
endif
" create new template from scratch
call go#template#create()
endfunction
function! go#auto#echo_go_info()
if !go#config#EchoGoInfo()
return
endif
if !exists('v:completed_item') || empty(v:completed_item)
return
endif
let item = v:completed_item
if !has_key(item, "info")
return
endif