*nuwiki.txt* LSP-backed vimwiki support for Vim and Neovim. Author: Gabriel Fróes Franco License: Dual MIT / Apache-2.0 ============================================================================== CONTENTS *nuwiki-contents* 1. Introduction ............ |nuwiki-introduction| 2. Requirements ............ |nuwiki-requirements| 3. Installation ............ |nuwiki-installation| 4. Configuration ........... |nuwiki-config| 5. Health check ............ |nuwiki-health| 6. LSP features ............ |nuwiki-features| 7. Commands ................ |nuwiki-commands| ============================================================================== 1. INTRODUCTION *nuwiki-introduction* nuwiki brings full vimwiki syntax support to Vim and Neovim via a Rust- based language server (|nuwiki-ls|). It is architecturally distinct from vimwiki itself — installable through any standard plugin manager, with the heavy lifting done in a single binary that speaks LSP over stdio. ============================================================================== 2. REQUIREMENTS *nuwiki-requirements* * Neovim 0.11+ (preferred path) * Vim 9.1+ with one of: - vim-lsp (prabirshrestha/vim-lsp) - coc.nvim (neoclide/coc.nvim) * `curl` and `tar` (only for binary download; not needed if you build from source) * `cargo` and a Rust toolchain (only if you opt into source builds) ============================================================================== 3. INSTALLATION *nuwiki-installation* Install via your plugin manager of choice; the build hook will download the pre-built `nuwiki-ls` binary into the plugin's `bin/` directory. lazy.nvim: > { "gffranco/nuwiki", build = "lua require('nuwiki').install()", ft = { "vimwiki" }, opts = {}, } Plug 'gffranco/nuwiki', { 'do': 'vim -e -s -c "source scripts/download_bin.vim" -c "q"' } call dein#add('gffranco/nuwiki', { \ 'build': 'vim -e -s -c "source scripts/download_bin.vim" -c "q"', \ }) let g:nuwiki_build_from_source = 1 vim.g.nuwiki_build_from_source = 1 require('nuwiki').install() <============================================================================== 4. CONFIGURATION *nuwiki-config* Neovim (`require('nuwiki').setup{}`): > require('nuwiki').setup({ wiki_root = '~/vimwiki', file_extension = '.wiki', syntax = 'vimwiki', log_level = 'warn', }) let g:nuwiki_wiki_root = '~/vimwiki' let g:nuwiki_file_extension = '.wiki' let g:nuwiki_syntax = 'vimwiki' let g:nuwiki_log_level = 'warn' :checkhealth nuwiki