about summary refs log tree commit diff
path: root/doc/languages-frameworks/vim.section.md
Commit message (Collapse)AuthorAge
* vimPluginsUpdater: initMatthieu Coudron2023-10-01
| | | | | | | | | | | | | | | The nixpkgs documentation mentions how to update out of tree plugins but one problem is that it requires a nixpkgs clone. This makes it more convenient. I've had the need to generate vim plugins and lua overlays for other projects unrelated to nix and this will make updates easier (aka just run `nix run nixpkgs#vimPluginsUpdater -- --proc=1` or with the legacy commands: `nix-shell -p vimPluginsUpdater --run vim-plugins-updater`. I added an optional "nixpkgs" argument to command line parser, which is the path towards a nixpkgs checkout. By default the current folder. update-luarocks-packages: format with black
* vimUtils: buildVimPluginFrom2Nix renamed to buildVimPluginMatthieu Coudron2023-09-27
| | | | the `from2Nix` suffix is a legacy from vim2nix but we dont use that anymore. It makes the name of the function unusual and long.
* use subcommands in plugin updaters (#223164)Matthieu Coudron2023-04-14
| | | | | | | | | | | | | | | | | | * update.py: introduce subparsers for plugin updaters This is preliminary work to help create more powerful plugin updaters. Namely I would like to be able to "just add" plugins without refreshing the older ones (helpful when github temporarily removes a user from github due to automated bot detection). Also concerning the lua updater, we pin some of the dependencies, and I would like to be able to unpin the package without editing the csv (coming in later PRs). * doc/updaters: update command to update editor plugins including vim, kakoune and lua packages Co-authored-by: figsoda
* doc: assign ids to many headingspennae2023-03-27
| | | | | | | | | | without stable ids on headings we cannot generate stable links to these headings. nrd complains about this, but the current docbook workflow does not. a few generated ids remain, mostly in examples and footnotes. most of the examples are generated by nixdoc (which has since gained MD export functions, and the MD export does generate IDs).
* vim-full: rename from vim_configurableNaïm Favier2022-12-09
| | | | | Avoids confusion: `vim-full`'s build-time features are configurable, but both `vim` and `vim-full` are *customizable* (in the sense of user configuration).
* doc: use sri hash syntaxColin Arnott2022-12-04
| | | | | | | | | | | | | | | | | | The nixpkgs manual contains references to both sri hash and explicit sha256 attributes. This is at best confusing to new users. Since the final destination is exclusive use of sri hashes, see nixos/rfcs#131, might as well push new users in that direction gently. Notable exceptions to sri hash support are builtins.fetchTarball, cataclysm-dda, coq, dockerTools.pullimage, elixir.override, and fetchCrate. None, other than builtins.fetchTarball, are fundamentally incompatible, but all currently accept explicit sha256 attributes as input. Because adding backwards compatibility is out of scope for this change, they have been left intact, but migration to sri format has been made for any using old hash formats. All hashes have been manually tested to be accurate, and updates were only made for missing upstream artefacts or bugs.
* doc/vim: Clarify buildVimPlugin/buildVimPluginFrom2NixJocelyn Thode2022-11-14
|
* doc/vim: update docs for nvim-treesitterfigsoda2022-10-31
|
* doc(vim): take into account plug non-supportMatthieu Coudron2022-09-11
| | | | | | Apply suggestions from code review Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
* doc(neovim): remove the mention of plug for neovimMatthieu Coudron2022-09-11
| | | | This was removed to simplify configuration. One could create a function that converts the plug format to vim native package format (only plugin system supported for neovim) and upstream it to nixpkgs if that's an issue
* doc: present how to create a vim-plugin overlayMatthieu Coudron2022-09-11
| | | | | | | | it is possible to maintain an out of tree list of neovim plugins with this method Update doc/languages-frameworks/vim.section.md Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
* vimUtils: remove vam supportMatthieu Coudron2022-07-10
| | | | having this many (complex) options not only is hard to maintain but I cant see the benefit of these options now that vim supports packages
* Update grammar in vim sectionJayson Henkel2022-07-08
| | | Fixed a few grammatical issues. Was uncertain how to address Treesitter, as the homepage itself is inconsistent, using all combinations of Treesitter, Tree-sitter, treesitter and tree-sitter.
* vimUtils: deprecate configure.pathogen (#154814)Matthieu Coudron2022-06-13
| | | | pathogen does not bring any value compared to vim native packages so remove it to ease maintainance burden.
* Merge pull request #164994 from ncfavier/vim-wrapper7c6f434c2022-03-29
|\ | | | | vim wrapper improvements
| * vimUtils.makeCustomizable: rewrite to include more thingsNaïm Favier2022-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The current wrapper only includes vim, gvim and the man pages (optionally). This rewrite distinguishes two scenarios, which I expect cover the majority of use cases: - standalone mode, when `name != "vim"`, means the user already has a vim in scope and only wants to add a customized version with a different name. In this case we only include wrappers for `/bin/*vim`. - non-standalone mode, when `name == "vim"`, means the user expects a normal vim package that uses the specified configuration. In this case we include everything in the original derivation, with wrappers for all the executables that accept a vimrc.
* | docs: replace defunct git://github.com urls with https://Lucas Hoffmann2022-03-25
|/
* Move misc/vim-plugins to applications/editors/vim/pluginsAndersonTorres2022-02-24
|
* doc: fix broken linksAmon Stopinšek2021-12-09
| | | | Links in documentation shouldn't point to dead ends.
* update-luarocks-packages: use pluginupdate.pyMatthieu Coudron2021-08-09
| | | | | | | Trying to reuse the update scripts used by kakoune/vim to provide the user with an unified convergence. Some stuff doesn't work yet (parallel download, caching) but I (anyone else welcome to try too) will improve it in other PRs.
* vimPlugins.nvim-treesitter: document pluginsGuillaume Girol2021-07-18
|
* doc: prepare for commonmarkJan Tojnar2021-06-07
| | | | | | | | | | | | | | We are still using Pandoc’s Markdown parser, which differs from CommonMark spec slightly. Notably: - Line breaks in lists behave differently. - Admonitions do not support the simpler syntax https://github.com/jgm/commonmark-hs/issues/75 - The auto_identifiers uses a different algorithm – I made the previous ones explicit. - Languages (classes) of code blocks cannot contain whitespace so we have to use “pycon” alias instead of Python “console” as GitHub’s linguist While at it, I also fixed the following issues: - ShellSesssion was used - Removed some pointless docbook tags.
* Include custom package in vim docs (#92811)Adrian Hesketh2021-04-20
| | | | | Describe how to package a plugin that doesn't exist in nixpkgs (and also how to include an external file). Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
* doc/languages-frameworks/*: add missing languages to code fencesSandro Jäckel2021-04-05
| | | | convert shell -> ShellSession
* doc: explicit Markdown anchors for top-level headings; remove metadataRyan Mulligan2021-01-01
| | | | | | | | | | | I used the existing anchors generated by Docbook, so the anchor part should be a no-op. This could be useful depending on the infrastructure we choose to use, and it is better to be explicit than rely on Docbook's id generating algorithms. I got rid of the metadata segments of the Markdown files, because they are outdated, inaccurate, and could make people less willing to change them without speaking with the author.
* vimPlugins: document update procesAustin Butler2020-10-28
|
* vimPlugins: Document node-based pluginsJake Waksbaum2020-09-04
|
* vimPlugins: update auto-commiting based on reviewryneeverett2020-04-01
| | | | | | | | | | | | | | | | | | - Use git.Repo(ROOT, search_parent_directories=True) to find nixpkgs repo. - Don't commit overrides.nix. - Remove "-a" short argument. - Remove "--commit" flag and commit by default. - Improve help/error messages. - Favor closure pattern over classes.Use a closure to wrap the update function with state rather than a callable class. - break NixpkgsRepo class into functions - Optional None-type arguments - Remove repo checks from update.py. Git is too flexible and permits too many workflows for my attempt to replace documentation with code to work. My goal would be to separate the `--add` functionality from the update functionality in the near term and then there will be no reason for this usage to create commits anyway.
* vimPlugins: update.py --add <plugin> argumentryneeverett2020-04-01
| | | | | - update.py's new --add argument replaces manual editing of vim-plugin-names for basic use cases.
* vimPlugins: automatically commit updateryneeverett2020-04-01
|
* doc: organize chapters into parts, and reduce toc depthFrederik Rietdijk2019-10-20
| | | | | | | | | Reorganize the chapters into parts and reduce the TOC depth to make the TOC useful again. The top-level TOC is very brief, but that is fine because every part will have its own TOC. Section titles of languages/frameworks are also simplified to just the name of the language/framework.
* Cleanup formatting in Vim plugin docsMalo Bourgon2019-07-14
|
* Update documentation about adding new Vim plugins to nixpkgsMalo Bourgon2019-07-14
|
* treewide: Change URLs to HTTPSDaniel Schaefer2019-04-22
| | | | | | Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them if there's actual content. Inspired by https://github.com/NixOS/nixpkgs/issues/60004
* doc: add neovim-qt configurationTimo Kaufmann2019-01-06
|
* vimUtils: add dependency logic to nativeImplTimo Kaufmann2018-12-24
| | | | nativeImpl previously simply ignored dependency information.
* clarifying `name` arg determines vim command nameTrolli Schmittlauch2018-10-24
| | | | | | | | The `name` arg of `vim_configurable.customize` does not only determine the package name, but also the name of the command/ executable to be called. In my opinion this is not documented properly and finding that out took me several hours.
* doc/vim: remove some vim-plug redundancyJörg Thalheim2018-09-20
|
* doc: Add section about vim-plugRoman Volosatovs2018-09-20
|
* vim-plugins: rewrite updaterJörg Thalheim2018-09-09
| | | | | | | | | | | | | | | | A new python script has been added to replace the aged viml-based updater. The new updater has the following advantages: - use rss feeds to check for updates quicker - parallel downloads & better caching - uses proper override mechanism instead of text substitution - update generated files in-place instead of having to insert updated plugins manually Automatically reading `dependencies` from the plugins directory has been not re-implemented. This has been mostly been used by Mark Weber's plugins, which seem to no longer receive regular updates. This could be implemented in future as required.
* doc/vim: improve plugin documentationJörg Thalheim2018-09-09
|
* Move all nixpkgs doc files in to the doc directoryGraham Christensen2018-03-25
This makes a makefile-driven developer workflow nicer.