mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2026-07-10 03:34:24 +02:00
add csv mode (wip), add lsp support to python-mode
This commit is contained in:
19
lisp/init-csv.el
Normal file
19
lisp/init-csv.el
Normal file
@@ -0,0 +1,19 @@
|
||||
(defun tvd/csv-mode-setup ()
|
||||
(csv-align-mode t)
|
||||
(toggle-truncate-lines 1)
|
||||
(csv-header-line t))
|
||||
|
||||
(use-package csv-mode
|
||||
:mode "\\.csv\\'"
|
||||
:config
|
||||
(setq
|
||||
toggle-truncate-lines 1
|
||||
csv-header-line t)
|
||||
|
||||
:hook
|
||||
(csv-mode . csv-align-mode))
|
||||
|
||||
(provide 'init-csv)
|
||||
;;; init-csv.el ends here
|
||||
|
||||
;; FIXME: create my own mode, convert CSV into org-table, edit it and convert back to CSV on save with a hook
|
||||
Reference in New Issue
Block a user