summaryrefslogtreecommitdiffstats
path: root/src/debputy/commands/debputy_cmd/lint_and_lsp_cmds.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/debputy/commands/debputy_cmd/lint_and_lsp_cmds.py')
-rw-r--r--src/debputy/commands/debputy_cmd/lint_and_lsp_cmds.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/debputy/commands/debputy_cmd/lint_and_lsp_cmds.py b/src/debputy/commands/debputy_cmd/lint_and_lsp_cmds.py
index 0f2ae0f..b30b98d 100644
--- a/src/debputy/commands/debputy_cmd/lint_and_lsp_cmds.py
+++ b/src/debputy/commands/debputy_cmd/lint_and_lsp_cmds.py
@@ -14,6 +14,7 @@ _EDITOR_SNIPPETS = {
;; Add to ~/.emacs or ~/.emacs.d/init.el and then activate via `M-x eglot`.
;;
;; Requires: apt install elpa-dpkg-dev-el
+ ;; Recommends: apt install elpa-markdown-mode
;; Make emacs recognize debian/debputy.manifest as a YAML file
(add-to-list 'auto-mode-alist '("/debian/debputy.manifest\\'" . yaml-mode))
@@ -52,13 +53,14 @@ _EDITOR_SNIPPETS = {
# Inform vim/ycm about the debputy LSP
let g:ycm_language_server = [
\\ { 'name': 'debputy',
- \\ 'filetypes': [ 'debcontrol', 'debcopyright', 'debchangelog', 'make'],
+ \\ 'filetypes': [ 'debcontrol', 'debcopyright', 'debchangelog', 'make', 'yaml'],
\\ 'cmdline': [ 'debputy', 'lsp', 'server' ]
\\ },
\\ ]
packadd! youcompleteme
- nmap <leader>d <plug>(YCMHover)
+ # Add relevant ycm keybinding such as:
+ # nmap <leader>d <plug>(YCMHover)
"""
),
}