Namespace most of my custom functions
Some checks failed
/ Test config on ${{matrix.node}} (20) (push) Has been cancelled
Some checks failed
/ Test config on ${{matrix.node}} (20) (push) Has been cancelled
This commit is contained in:
parent
dd5387cd7e
commit
c2caa56b35
25 changed files with 82 additions and 85 deletions
|
|
@ -1,4 +1,4 @@
|
|||
;;; golang.el --- summary -*- lexical-binding: t; -*-
|
||||
;;; icejam-lang-golang.el --- summary -*- lexical-binding: t; -*-
|
||||
|
||||
;; Author: Maciej Szlosarczyk
|
||||
;; Maintainer: Maciej Szlosarczyk
|
||||
|
|
@ -17,12 +17,13 @@
|
|||
:defer t
|
||||
:straight t)
|
||||
|
||||
(defun activate-golang-mode ()
|
||||
(set-indent 8)
|
||||
(defun icejam/activate-golang-mode ()
|
||||
"Activate my own Golang mode settings."
|
||||
(icejam/set-indent 8)
|
||||
(column-enforce-n 100)
|
||||
(lsp))
|
||||
|
||||
(add-hook 'go-mode-hook 'activate-golang-mode)
|
||||
(add-hook 'go-mode-hook 'icejam/activate-golang-mode)
|
||||
|
||||
(provide 'icejam-lang-golang)
|
||||
;;; icejam-lang-golang.el ends here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue