Add (at the moment, very basic) support for documenting Rust using comment-helper.
- Supports snippets if you have LuaSnip enabled.
- Supports the following Rust node types:
- function_item
Plug 'ismaelpadilla/comment-helper.nvim' " base plugin
Plug 'ismaelpadilla/comment-helper-rust.nvim'
local ch = require("comment_helper")
local ch_rust = require("comment_helper_rust")
ch.set_ignored_types("rust", {"source_file"})
ch.add("rust", "function_item", ch_rust.function_item)