aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | Merge pull request #12698 from erw7/fix-popupmenu-with-rlJan Edmund Lazo2020-11-13
|\ \ | | | | | | ui: fix problem with the popupmenu when rightleft is set
| * | ui: fix problem with the popupmenu when rightleft is seterw72020-07-31
| | | | | | | | | | | | fixes #12032
* | | Merge pull request #13287 from jamessan/github-actionsJames McCoy2020-11-13
|\ \ \
| * | | ci: Rename travis_fold to ci_fold and add GHA supportJames McCoy2020-11-13
| | | |
| * | | build: Rename TRAVIS_CI_BUILD variable to CI_BUILDJames McCoy2020-11-13
| | |/ | |/|
* | | feat(lua): improve error message to make it actionable (#13276)Alvaro Muñoz2020-11-13
| | | | | | | | | * improve error message to make it actionable
* | | lsp: vim.lsp.diagnostic (#12655)TJ DeVries2020-11-12
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Breaking Changes: - Deprecated all `vim.lsp.util.{*diagnostics*}()` functions. - Instead, all functions must be found in vim.lsp.diagnostic - For now, they issue a warning ONCE per neovim session. In a "little while" we will remove them completely. - `vim.lsp.callbacks` has moved to `vim.lsp.handlers`. - For a "little while" we will just redirect `vim.lsp.callbacks` to `vim.lsp.handlers`. However, we will remove this at some point, so it is recommended that you change all of your references to `callbacks` into `handlers`. - This also means that for functions like |vim.lsp.start_client()| and similar, keyword style arguments have moved from "callbacks" to "handlers". Once again, these are currently being forward, but will cease to be forwarded in a "little while". - Changed the highlight groups for LspDiagnostic highlight as they were inconsistently named. - For more information, see |lsp-highlight-diagnostics| - Changed the sign group names as well, to be consistent with |lsp-highlight-diagnostics| General Enhancements: - Rewrote much of the getting started help document for lsp. It also provides a much nicer configuration strategy, so as to not recommend globally overwriting builtin neovim mappings. LSP Enhancements: - Introduced the concept of |lsp-handlers| which will allow much better customization for users without having to copy & paste entire files / functions / etc. Diagnostic Enhancements: - "goto next diagnostic" |vim.lsp.diagnostic.goto_next()| - "goto prev diagnostic" |vim.lsp.diagnostic.goto_prev()| - For each of the gotos, auto open diagnostics is available as a configuration option - Configurable diagnostic handling: - See |vim.lsp.diagnostic.on_publish_diagnostics()| - Delay display until after insert mode - Configure signs - Configure virtual text - Configure underline - Set the location list with the buffers diagnostics. - See |vim.lsp.diagnostic.set_loclist()| - Better performance for getting counts and line diagnostics - They are now cached on save, to enhance lookups. - Particularly useful for checking in statusline, etc. - Actual testing :) - See ./test/functional/plugin/lsp/diagnostic_spec.lua - Added `guisp` for underline highlighting NOTE: "a little while" means enough time to feel like most plugins and plugin authors have had a chance to refactor their code to use the updated calls. Then we will remove them completely. There is no need to keep them, because we don't have any released version of neovim that exposes these APIs. I'm trying to be nice to people following HEAD :) Co-authored: [Twitch Chat 2020](https://twitch.tv/teej_dv)
* | Merge pull request #13273 from janlazo/vim-8.2.1972Jan Edmund Lazo2020-11-11
|\ \ | | | | | | vim-patch:8.2.{1972,1973,1974}
| * | vim-patch:8.2.1973: finding a patch number can be a bit slowJan Edmund Lazo2020-11-11
| | | | | | | | | | | | | | | | | | Problem: Finding a patch number can be a bit slow. Solution: Use binary search. (closes vim/vim#7279) https://github.com/vim/vim/commit/232f4612e2b0a6a205ae385740078f6b8af05e75
| * | vim-patch:8.2.1972: crash when recreating nested foldJan Edmund Lazo2020-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when recreating nested fold. Solution: Check for empty growarray. (closes vim/vim#7278) https://github.com/vim/vim/commit/5e1f22ff614821b8fc7294c9dd22765acd403aeb N/A patches for version.c: vim-patch:8.2.1974: Vim9: test for has('gui_running') fails with VIMDLL Problem: Vim9: test for has('gui_running') fails with VIMDLL. Solution: Adjust the #ifdef. (Ken Takata, closes vim/vim#7276) https://github.com/vim/vim/commit/29b281ba8ddf176ae34b22e6a9b8e0ddcbcce665
* | | Removed restricted mode - Fix #11972georg3tom2020-11-11
|/ /
* | options.lua: add short descriptions (#6288)Matthieu Coudron2020-11-11
| | | | | | | | | | | | add one-liner option descriptions in src/nvim/options.lua They are taken from optwin.vim and should be easier to use in a programmatic manner, for instance in a "palette", like in telescope `:Telescope vim_options`.
* | Add PVS comment to new source filesJames McCoy2020-11-10
| |
* | Merge pull request #13263 from jamessan/tree-sitter-detectJames McCoy2020-11-09
|\ \ | | | | | | Align naming of FindTreeSitter cmake file and variables
| * | Align naming of FindTreeSitter cmake file and variablesJames McCoy2020-11-09
| | | | | | | | | | | | | | | | | | | | | | | | `find_package(Foo ...)` expects to find a file FindFoo.cmake and the resulting variables to be named `Foo_...`. If those don't all match up, then the detection does not work properly. Closes #13262
* | | Merge pull request #13244 from tk-shirasaka/fix/multigrid-click-foldcolumnMatthieu Coudron2020-11-10
|\ \ \ | |/ / |/| | ui: Fix click on foldcolumn when ext_multigrid is enabled
| * | Fix alignment issueShirasaka2020-11-10
| | |
| * | ui: Fix click on foldcolumn when ext_multigrid is enabledShirasaka2020-11-09
| | |
* | | Merge pull request #13205 from romgrk/add-bufmodified-autocmdBjörn Linse2020-11-09
|\ \ \ | | | | | | | | Implement BufModifiedSet autocmd
| * | | fix: address issues for BufModifiedSetRom Grk2020-11-09
| | | |
| * | | fix: finish renaming to BufModifiedSetRom Grk2020-11-07
| | | |
| * | | fix: rename to BufModifiedSetRom Grk2020-11-07
| | | |
| * | | feat: implement BufModified autocmdRom Grk2020-11-07
| | | |
* | | | gcc/analyzer: fix false positives for NULL (#13248)Jan Edmund Lazo2020-11-08
| | | | | | | | | | | | Close https://github.com/neovim/neovim/issues/13158
* | | | pvs/v547: comment out code for 'adjustment == 1'Jan Edmund Lazo2020-11-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | That code never runs. Comment it out in case that it is required for debugging marktree.c. Use 'const' to mark constant variables.
* | | | pvs/v560: decoration item is always truthyJan Edmund Lazo2020-11-08
| | | |
* | | | pvs/v547: remove useless ternary for string sizeJan Edmund Lazo2020-11-08
| |/ / |/| |
* | | vim-patch:8.2.1964: not all ConTeXt files are recognized (#13245)champignoom2020-11-07
| | | | | | | | | | | | | | | Problem: Not all ConTeXt files are recognized. Solution: Add two patterns. (closes vim/vim#7263) https://github.com/vim/vim/commit/faebda8cc1ecc4d6a197e06e968df46a2841ed79
* | | Add v:event flag on DirChanged signaling switching window (#13153)Andrea Cedraro2020-11-07
|/ / | | | | Closes #9909
* | Merge pull request #13241 from bfredl/decorationBjörn Linse2020-11-07
|\ \ | | | | | | decoration: split out "decoration" from "extmark" module
| * | decoration: split out "decoration" from "extmark" moduleBjörn Linse2020-11-07
| | | | | | | | | | | | | | | Decorations will only grow more complex. move the to a separate file, so that extmark.c remains about extmarks.
* | | Merge pull request #13117 from romgrk/add-scroll-eventsBjörn Linse2020-11-07
|\ \ \ | |/ / |/| | Implement scroll autocommand
| * | fix: lint doc-commentsRom Grk2020-11-07
| | |
| * | my fight with the linterRom Grk2020-11-06
| | |
| * | Merge branch 'master' into add-scroll-eventsRom Grk2020-11-03
| |\ \
| * | | fix: remove xxx commentRom Grk2020-11-01
| | | |
| * | | feat: implement a working WinScrolled autocmdRom Grk2020-10-28
| | | |
| * | | move.c: dont invalidate viewport when no scroll happenedRom Grk2020-10-25
| | | |
| * | | scroll: use win->w_viewport_invalidRom Grk2020-10-24
| | | |
| * | | scroll: cleanup unnecessary code & commentsRom Grk2020-10-24
| | | |
| * | | implement scroll autocommandRom Grk2020-10-21
| | | |
* | | | vim-patch:8.2.1961: various comments can be improvedJan Edmund Lazo2020-11-06
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Various comments can be improved. Solution: Various comment adjustments. https://github.com/vim/vim/commit/22286895fce0e45e42126c7f2e35ebf43bc625d9
* | | | vim-patch:8.2.1959: crash when terminal buffer name is made emptyJan Edmund Lazo2020-11-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when terminal buffer name is made empty. (Dhiraj Mishra) Solution: Fall back to "[No Name]". (closes vim/vim#7262) https://github.com/vim/vim/commit/00806bceb6dc9c8dcd308e5f7e50f720f7dc71b0 N/A patches for version.c: vim-patch:8.1.2422: "make depend" does not work correctly for libvterm Problem: "make depend" does not work correctly for libvterm. Solution: Fix build dependencies. And a few minor improvements. https://github.com/vim/vim/commit/9810cfbe554b166cb05b51119040bb4426c17bac vim-patch:8.2.1962: netbeans may access freed memory Problem: Netbeans may access freed memory. Solution: Check the buffer pointer is still valid. Add a test. (Yegappan Lakshmanan, closes vim/vim#7248) https://github.com/vim/vim/commit/32e5ec0b017adb68fe36adb9a9a362abdaffe7f4 vim-patch:8.2.1963: crash when using a popup window with "latin1" encoding Problem: Crash when using a popup window with "latin1" encoding. Solution: Don't use ScreenLinesUC when enc_utf8 is false. (closes vim/vim#7241) https://github.com/vim/vim/commit/927495b1fef835a8f83c089bb3aa3608b617e972
* | | | vim-patch:8.1.0268: file type checking has too many #ifdef (#13182)tamago3242020-11-06
| | | | | | | | | | | | | | | | | | | | Problem: File type checking has too many #ifdef. Solution: Always define the S_IF macros. (Ken Takata, closes vim/vim#3306) https://github.com/vim/vim/commit/d569bb029983cff947dce704e6f830276204c13f
* | | | Merge pull request #13227 from bfredl/earlyinspectBjörn Linse2020-11-05
|\ \ \ \ | | | | | | | | | | lua: make vim.inspect available early so it can be used for path debugging
| * | | | lua: make vim.inspect available early so it can be used for path debuggingBjörn Linse2020-11-05
| | | | |
* | | | | Merge pull request #13224 from janlazo/vim-8.2.1944Jan Edmund Lazo2020-11-04
|\ \ \ \ \ | | | | | | | | | | | | vim-patch:8.1.{1829,1956,2234},8.2.1944
| * | | | | vim-patch:8.1.1956: screenshot tests may use a different encodingJan Edmund Lazo2020-11-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Screenshot tests may use a different encoding. (Dominique Pelle) Solution: Always set 'encoding' to "utf-8" when running Vim in a terminal. (closes vim/vim#4884) https://github.com/vim/vim/commit/0fdddeeb66bbe326860ddfc573eba42f6487bbda Comment out the encoding change in shared.vim because Neovim always uses utf-8 for internal character encoding.
| * | | | | vim-patch:8.1.1829: difference in screenshotsJan Edmund Lazo2020-11-04
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Difference in screenshots. Solution: Update screenshots. Change checks in a few more tests. (closes vim/vim#4789) https://github.com/vim/vim/commit/39de6413c8b7bae882bed3dba636f6d52d793087 N/A patches for version.c: vim-patch:8.1.2234: get_short_pathname() fails depending on encoding Problem: get_short_pathname() fails depending on encoding. Solution: Use the wide version of the library function. (closes vim/vim#5129) https://github.com/vim/vim/commit/3f39697b73f661d6900c7cf5430d967a129660d7 vim-patch:8.2.1944: Netbeans test is flaky Problem: Netbeans test is flaky. Solution: Add a short delay. (Yegappan Lakshmanan, closes vim/vim#7246) https://github.com/vim/vim/commit/6fd3a4ba2320c4a95f02daef5f2ac76d3105d013
* | | | | Merge pull request #13219 from vigoux/ts-extract-treeBjörn Linse2020-11-04
|\ \ \ \ \ | |/ / / / |/| | | | treesitter: separate tree and parser