All Projects → archseer → snippets.nvim

archseer / snippets.nvim

Licence: MPL-2.0 license
No description or website provided.

Programming Languages

lua
6591 projects
Vim Script
2826 projects

Projects that are alternatives of or similar to snippets.nvim

SimpleSnippets.vim
Simple snippet support for your Vim and Neovim
Stars: ✭ 86 (+186.67%)
Mutual labels:  snippets, neovim-plugin
Vim Vsnip
Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.
Stars: ✭ 224 (+646.67%)
Mutual labels:  snippets, neovim-plugin
javascript-interview-questions
A collection of JavaScript modern interview questions for beginners to experts
Stars: ✭ 290 (+866.67%)
Mutual labels:  snippets
sad.nvim
Space Age seD in Neovim. A project-wide find and replace plugin for Neovim.
Stars: ✭ 38 (+26.67%)
Mutual labels:  neovim-plugin
vscode-cucumber
Code snippets to write scenarios faster + Syntax highlight for .feature files
Stars: ✭ 24 (-20%)
Mutual labels:  snippets
cheat-sheet
collection of cheat sheets
Stars: ✭ 150 (+400%)
Mutual labels:  snippets
github markdown snippets
GitHub flavored Markdown with plain'ol HTML knowledge! Boom!
Stars: ✭ 23 (-23.33%)
Mutual labels:  snippets
vscode-R
R Extension for Visual Studio Code
Stars: ✭ 788 (+2526.67%)
Mutual labels:  snippets
github-notifications.nvim
Statusline + Telescope integration for viewing and interacting with GitHub notifications
Stars: ✭ 70 (+133.33%)
Mutual labels:  neovim-plugin
LeaderF-snippet
Intuitive Way to Use Snippet
Stars: ✭ 38 (+26.67%)
Mutual labels:  snippets
viconf
My (n)Vim config files
Stars: ✭ 18 (-40%)
Mutual labels:  snippets
session-lens
A session-switcher extension for rmagatti/auto-session using Telescope.nvim
Stars: ✭ 143 (+376.67%)
Mutual labels:  neovim-plugin
aerial.nvim
Neovim plugin for a code outline window
Stars: ✭ 485 (+1516.67%)
Mutual labels:  neovim-plugin
nvim-startup.lua
Displays neovim startup time
Stars: ✭ 53 (+76.67%)
Mutual labels:  neovim-plugin
snippet.kak
Snippets integration for Kakoune
Stars: ✭ 23 (-23.33%)
Mutual labels:  snippets
network tech
Cisco config syntax and snippets for Sublime Text
Stars: ✭ 82 (+173.33%)
Mutual labels:  snippets
fzf-checkout.vim
Manage branches and tags with fzf
Stars: ✭ 187 (+523.33%)
Mutual labels:  neovim-plugin
Minecraft-bedrock-json-schemas
The JSON validation schema files for Minecraft bedrock
Stars: ✭ 17 (-43.33%)
Mutual labels:  snippets
macos-snippets
Snip is a lightweight snippets manager app for macOS
Stars: ✭ 238 (+693.33%)
Mutual labels:  snippets
Articles
经验文章
Stars: ✭ 128 (+326.67%)
Mutual labels:  snippets

snippets.nvim

LSP/TextMate snippet implementation based on Neovim's extmarks. Aiming to replace the need for UltiSnips and eventually upstreaming into neovim.

A continuation of norcalli/nvim-snippets.lua.

Why?

UltiSnips, vsnip and other implementations are larger because they need to calculate diffs and guess what exactly changed when the user edits snippet placeholders. With Neovim's extmarks, that problem is solved for us: we simply mark the start and end of each placeholder and the positioning will remain correct.

Installation

Warning! This plugin is in development, expect things to be completely broken.

You need to compile neovim from source with nvim_buf_set_text patches.

Install the plugin as usual, then add this to your config:

if vim.env.SNIPPETS then
  vim.snippet = require 'snippet'
end

Start neovim with the SNIPPETS env variable set:

SNIPPETS=1 nvim

For development, you can just clone the repository, then add the directory to your runtime path:

SNIPPETS=1 nvim -c "set rtp=."

References

Acknowledgements

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].