Got Null-LS working with markdown and python.

This commit is contained in:
Norm Rasmussen
2022-11-30 17:21:29 -05:00
parent c8bcff39f5
commit 8d46ae585e
9 changed files with 234 additions and 67 deletions

View File

@ -48,10 +48,82 @@ map('n', '<leader>fe', ':Telescope file_browser<CR>', default_opts)
Mapper = require("nvim-mapper")
local M = Mapper.map
-- For Neovim >= 0.7.0
M('n', '<leader>P', ":MarkdownPreview<CR>", {silent = true, noremap = true}, "Markdown", "md_preview", "Display Markdown preview in Qutebrowser")
M('n', '<leader>fe', ":Telescope file_browser<CR>", {silent=true, noremap=true}, "Telescope", "telescope-file-browser", "Find files and directories in telescope")
M('n', '<C-t>', "@t<CR>",{silent=true, noremap=true}, "Todo Comments", "todo_todo", "Add To-do/Task to the beginning of the line")
M('n', '<C-s>', "@s<CR>", {silent=true, noremap=true}, "Todo Comments", "todo_seng", "Add Solutions Engineering to the beginning of the line")
M('n', '<C-f>', "@f<CR>", {silent=true, noremap=true}, "Todo Comments", "todo_feat", "Add Feature Request tag to the beginning of the line. ")
M('n', '<C-cx>', "@c<CR>", {silent=true, noremap=true}, "Todo Comments", "todo_complete", "Replace tag with Complete tag at beginning of the line.")
M('n', '<C-w>', "@w<CR>", {silent=true, noremap=true}, "Todo Comments", "todo_error", "Add Warning/Error tag at the beginning of the line.")
M(
'n', '<leader>P', ":MarkdownPreview<CR>",
{silent = true, noremap = true},
"Markdown",
"md_preview",
"Display Markdown preview in Qutebrowser"
)
M(
'n', '<leader>fe', ":Telescope file_browser<CR>",
{silent=true, noremap=true},
"Telescope",
"telescope-file-browser",
"Find files and directories in telescope"
)
M(
'n', '<C-t>', "@t<CR>",
{silent=true, noremap=true},
"Todo Comments",
"todo_todo",
"Add To-do/Task to the beginning of the line"
)
M(
'n', '<C-s>', "@s<CR>",
{silent=true, noremap=true},
"Todo Comments",
"todo_seng",
"Add Solutions Engineering to the beginning of the line"
)
M(
'n', '<C-f>', "@f<CR>",
{silent=true, noremap=true},
"Todo Comments",
"todo_feat",
"Add Feature Request tag to the beginning of the line. "
)
M(
'n', '<C-cx>', "@c<CR>",
{silent=true, noremap=true},
"Todo Comments",
"todo_complete",
"Replace tag with Complete tag at beginning of the line."
)
M(
'n', '<C-w>', "@w<CR>",
{silent=true, noremap=true},
"Todo Comments",
"todo_error",
"Add Warning/Error tag at the beginning of the line."
)
M(
'n', '<leader>ce', ":TodoTrouble keywords=TODO<CR> | resize +10<CR>",
{silent=true, noremap=true},
"Show Todos",
"todo_trouble_todo",
"Show Todos from Folke's Todo Comments Plugin."
)
M(
'n', '<leader>cf', ":TodoTrouble keywords=FEAT<CR>",
{silent=true, noremap=true},
"Show Todos",
"todo_trouble_todo",
"Show Feature Requests from Folke's Todo Comments Plugin."
)
M(
'n', '<leader>cq', ":TodoTrouble keywords=ERROR, WARN<CR>",
{silent=true, noremap=true},
"Show Todos",
"todo_trouble_todo",
"Show Errors from Folke's Todo Comments Plugin."
)