Skip to content

Latest commit

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Rest

Neovim support for rest

Installation

Depends on: nvim-treesitter/nvim-treesitter

{
'taybart/rest.nvim',
dependencies= { -- used for syntax highlighting, parser will be installed if not available (hcl)'nvim-treesitter/nvim-treesitter', -- optional dependency that will add code actions in rest files'taybart/code-actions.nvim',
},
opts= {
-- add no wrap to rest filesno_wrap=true,
-- set to false to prevent code action registration-- you do not need to set this to false if you do -- not add code actions as a dependencycode_actions=true,
},
}

Commands

:ExecuteBlock [block number]
:ExecuteBlockUnderCursor
:ExecuteFile [file name]
:Export [language name]

Keymaps

the default keymaps are:

vim.keymap.set('n', '<c-l>', execute.do_labels, {}) -- pickvim.keymap.set('n', '<c-e>', execute.block_under_cursor, {})
vim.keymap.set('n', '<c-t>', execute.file, {})

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages