Skip to content

Commit

Permalink
Merge pull request #10 from dej4vu/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
dej4vu authored Aug 5, 2024
2 parents dde5dd1 + 240a8df commit e25cbb8
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
1 change: 1 addition & 0 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
(require 'init-exec-path)
(require 'init-yas)
(require 'init-llm)
(require 'init-csv)

(when (file-exists-p custom-file)
(load custom-file))
Expand Down
8 changes: 8 additions & 0 deletions lisp/init-csv.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
(use-package csv-mode
;;:config
;;(setq csv-header-lines +1)
:hook
(csv-mode . csv-align-mode)
)

(provide 'init-csv)
14 changes: 8 additions & 6 deletions lisp/init-go.el
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@
(setq tab-width 4))

;; Set up before-save hooks to format buffer and add/delete imports.
;; Make sure you don't have other gofmt/goimports hooks enabled.
(defun lsp-go-install-save-hooks ()
(add-hook 'before-save-hook #'lsp-format-buffer t t)
;;(add-hook 'before-save-hook #'lsp-organize-imports t t)
)
(add-hook 'go-mode-hook #'lsp-go-install-save-hooks))
;; Make sure you don't have other gofmt/goimports hooks enabled.
(defun lsp-go-install-save-hooks ()
(add-hook 'before-save-hook #'lsp-format-buffer t t)
;;(add-hook 'before-save-hook #'lsp-organize-imports t t)
)
(add-hook 'go-mode-hook #'lsp-go-install-save-hooks))

(use-package go-tag)

(provide 'init-go)

0 comments on commit e25cbb8

Please sign in to comment.