nvim-nu icon indicating copy to clipboard operation
nvim-nu copied to clipboard

Basic editor support for the nushell language

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
  • Configuration

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 :smirk:

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
})