This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
dianciemacs/lisp/languages.el
Muhammad Nauman Raza 16605985f3
feat: Go support
Removed Rust support as I don't use Rust anymore.
2022-11-14 21:37:52 +00:00

21 lines
439 B
EmacsLisp

;; This file contains configuration for languages
;; Markdown
(use-package markdown-mode)
;; Diagnostics
(use-package flycheck)
;; eglot - Language Server Protocol ingegration
(use-package eglot)
;; Go
(use-package go-mode
:config
(add-hook 'before-save-hook 'gofmt-before-save) ; Format on save
:hook
(go-mode . flycheck-mode)) ; Enable flycheck-mode by default
;; Autobrackets
(add-hook 'prog-mode-hook 'electric-pair-mode)