All Projects → stsewd → sphinx.nvim

stsewd / sphinx.nvim

Licence: MIT license
Sphinx integrations for Neovim

Programming Languages

python
139335 projects - #7 most used programming language
scheme
763 projects
Vim Script
2826 projects
Batchfile
5799 projects
Makefile
30231 projects

Projects that are alternatives of or similar to sphinx.nvim

sphinx-rest-cheatsheet
A compact cheat sheet for writing documentation string for Sphinx, with focus on Python.
Stars: ✭ 17 (-73.44%)
Mutual labels:  sphinx, restructuredtext
Coc.nvim
Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
Stars: ✭ 18,268 (+28443.75%)
Mutual labels:  autocompletion, neovim-plugin
sphinx-jekyll-builder
sphinx builder that outputs jekyll compatible markdown files with frontmatter
Stars: ✭ 18 (-71.87%)
Mutual labels:  sphinx, restructuredtext
Hawkmoth
Hawkmoth - Sphinx Autodoc for C
Stars: ✭ 31 (-51.56%)
Mutual labels:  sphinx, restructuredtext
Curriculum
Ops School Curriculum
Stars: ✭ 1,565 (+2345.31%)
Mutual labels:  sphinx, restructuredtext
nvim-config
My neovim config
Stars: ✭ 63 (-1.56%)
Mutual labels:  autocompletion, neovim-plugin
Vscode Restructuredtext
reStructuredText Language Support in Visual Studio Code
Stars: ✭ 243 (+279.69%)
Mutual labels:  sphinx, restructuredtext
nvim-lsp-compl
A fast and asynchronous auto-completion plugin for Neovim >= 0.5, focused on LSP.
Stars: ✭ 46 (-28.12%)
Mutual labels:  autocompletion, neovim-plugin
React Categorized Tag Input
React.js component for making tag autocompletion inputs with categorized results.
Stars: ✭ 78 (+21.88%)
Mutual labels:  autocompletion
Glyphfriend
Glyphfriend is a Visual Studio Extension to add previews for various icon/glyph fonts to Visual Studio.
Stars: ✭ 157 (+145.31%)
Mutual labels:  autocompletion
Intero.nvim
Haskell+Neovim lightning fast autocompletion and other IDE functionality
Stars: ✭ 76 (+18.75%)
Mutual labels:  autocompletion
Dargs
Enhance any command with dynamic arguments
Stars: ✭ 107 (+67.19%)
Mutual labels:  autocompletion
Modernsearchbar
The famous iOS search bar with auto completion feature implemented.
Stars: ✭ 167 (+160.94%)
Mutual labels:  autocompletion
Tenkawa Php Language Server
Language server for PHP, with powerful static analysis and type inference.
Stars: ✭ 78 (+21.88%)
Mutual labels:  autocompletion
Yarn Completion
Bash completion for Yarn
Stars: ✭ 210 (+228.13%)
Mutual labels:  autocompletion
Tokenize2
Tokenize2 is a plugin which allows your users to select multiple items from a predefined list or ajax, using autocompletion as they type to find each item. You may have seen a similar type of text entry when filling in the recipients field sending messages on facebook or tags on tumblr.
Stars: ✭ 74 (+15.63%)
Mutual labels:  autocompletion
Omelette
Omelette is a simple, template based autocompletion tool for Node and Deno projects with super easy API. (For Bash, Zsh and Fish)
Stars: ✭ 1,184 (+1750%)
Mutual labels:  autocompletion
Deep Assoc Completion
A phpstorm plugin for associative array key typing and completion
Stars: ✭ 202 (+215.63%)
Mutual labels:  autocompletion
Laravel Ide Helper
Laravel IDE Helper
Stars: ✭ 11,893 (+18482.81%)
Mutual labels:  autocompletion
Cakephp Ide Helper
IDE Helper plugin for CakePHP
Stars: ✭ 138 (+115.63%)
Mutual labels:  autocompletion

sphinx.nvim

CI

Sphinx integrations for Neovim.

This plugin is still under development, many things may and will change.

sphinx-nvim-coc

Contents

Installation

Install using vim-plug. Put this in your init.vim.

Plug 'stsewd/sphinx.nvim', { 'do': ':UpdateRemotePlugins' }

Available integrations

coc.nvim

Source for cross-referencing roles, i.e :ref:, :doc:, py:func, etc.

Note: this plugin makes use of the inventory file from Sphinx, so you need to have built your docs at least once to get suggestions, and rebuild when your docs change to get the up to date suggestions. You can use sphinx-autobuild to rebuild your docs automatically when there is a change.

fzf

  • List and open files with SphinxFiles.
  • List all references with :SphinxRefs or :SphinxRefs {role-name} (tab completion supported!). Copy the reference name with Enter or copy the link with Ctrl-F (they are copied to the default register ", just press p to paste).

Note If you have fzf.vim installed, this plugin will respect your g:fzf_command_prefix setting.

nvim-treesitter

Extra queries for rst. This includes highlights for Sphinx directives and roles, and injections for directives from Sphinx and popular extensions (like code-block or tabs).

Coming soon

  • Completion for roles and directives names.

Configuration

Default values are shown in the code blocks.

General settings

g:sphinx_default_role

Default role (words surrounded by `single back-quotes`).

let g:sphinx_default_role = 'any'

g:sphinx_html_output_dirs

Where to search for the local inventory file (objects.inv). The directories are relative to the conf.py file.

let g:sphinx_html_output_dirs = [
      \ '_build/html', 'build/html',
      \ '../_build/html', '../build/html',
      \ '_build/dirhtml', 'build/dirhtml',
      \ '../_build/dirhtml', '../build/dirhtml',
      \]

g:sphinx_default_dirs

If you want to extend the defaults values from g:sphinx_html_output_dirs and g:sphinx_doctrees_output_dirs instead of replacing them.

let g:sphinx_default_dirs = 1

Intersphinx related settings

g:sphinx_include_intersphinx_data

If results should include information from Intersphinx.

let g:sphinx_include_intersphinx_data = 1

g:sphinx_doctrees_output_dirs

Where to search for the environment file (environment.pickle), this file contains the inventories from Intersphinx. The directories are relative to the conf.py file.

let g:sphinx_doctrees_output_dirs = [
      \ '_build/doctrees', 'build/doctrees',
      \ '../_build/doctrees', '../build/doctrees',
      \ '_build/html/.doctrees', 'build/html/.doctrees',
      \ '../_build/html/.doctrees', '../build/html/.doctrees',
      \ '_build/dirhtml/.doctrees', 'build/dirhtml/.doctrees',
      \ '../_build/dirhtml/.doctrees', '../build/dirhtml/.doctrees',
      \]

g:sphinx_always_use_scoped_targets

Always prefix the reference with the name of the target, i.e use :ref:`<python:comparisons>` instead of :ref:`<comparisons>` to link to the label “comparisons” in the doc set “python”.

let g:sphinx_always_use_scoped_targets = 1
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].