kodesafi / nvim-nu

Basic editor support for the nushell language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nvim-nu - Basic editor support for the nushell language

nu example


Info: This plugin was made for nu version ~0.45. As nushell evolves quickly, the plugin might not work perfectly for later versions. PR's are welcome


Table of contents


Requirements

Installation

You can install nvim-nu with your favorite package manager (or using the native package feature of vim, see :h packages).

E.g., if you are using vim-plug, put this in your init.vim file:

Plug 'LhKipp/nvim-nu', {'do': ':TSInstall nu'}

Don't forget to call setup 😏

require('nu').setup{}

Configuration

(Default values are shown)

require('nu').setup({
    complete_cmd_names = true, -- requires https://github.com/jose-elias-alvarez/null-ls.nvim
})

About

Basic editor support for the nushell language

License:GNU General Public License v3.0


Languages

Language:Lua 76.7%Language:Shell 10.5%Language:Scheme 10.4%Language:Vim Script 2.4%