General cleanup
This commit is contained in:
parent
5017fc9c3b
commit
38eaa19dc0
15 changed files with 146 additions and 158 deletions
|
@ -7,8 +7,10 @@
|
|||
:lighter " ans" :keymap (make-sparse-keymap))
|
||||
(associate! ansible-mode :in (yaml-mode) :files ("roles/"))
|
||||
|
||||
(use-package company-ansible :defer t)
|
||||
(define-company-backend! ansible-mode (ansible))
|
||||
(use-package company-ansible
|
||||
:defer t
|
||||
:init
|
||||
(define-company-backend! ansible-mode (ansible)))
|
||||
|
||||
(provide 'module-ansible)
|
||||
;;; module-ansible.el ends here
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"/\\(Gem\\|Cap\\|Vagrant\\|Rake\\)file$")
|
||||
:interpreter "ruby"
|
||||
:init
|
||||
(add-hook! ruby-mode 'flycheck-mode)
|
||||
(add-hook 'ruby-mode-hook 'flycheck-mode)
|
||||
(define-docset! ruby-mode "rb,ruby,rubygem")
|
||||
(define-builder! ruby-mode "rake %s" "Rakefile")
|
||||
(define-env-command! ruby-mode "ruby --version | cut -d' ' -f2")
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
:config
|
||||
(setq company-shell-delete-duplicates t))
|
||||
|
||||
(associate! sh-mode :match "/\\.dotfiles/aliases$")
|
||||
(associate! sh-mode :match "/\\.?z\\(sh/.*\\|profile\\|login\\|logout\\|shrc\\|shenv\\)$")
|
||||
(associate! sh-mode :match "/\\.?bash\\(/.*\\|rc\\|_profile\\)$")
|
||||
(after! sh-script
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
;;; module-text.el
|
||||
|
||||
(use-package markdown-mode
|
||||
:mode (("\\.md$" . markdown-mode)
|
||||
("/README$" . markdown-mode))
|
||||
:mode ("\\.md$" "/README$")
|
||||
:functions (markdown-use-region-p
|
||||
markdown-unwrap-things-in-region
|
||||
markdown-wrap-or-insert
|
||||
markdown-unwrap-thing-at-point)
|
||||
:init
|
||||
(add-hook! markdown-mode 'narf|enable-hard-wrap)
|
||||
(add-hook 'markdown-mode-hook 'narf|enable-hard-wrap)
|
||||
:config
|
||||
(sp-local-pair 'markdown-mode "```" "```"
|
||||
:post-handlers '(("||\n[i]" "RET"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue