summaryrefslogtreecommitdiff
path: root/emacs/inits/20-programming.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/inits/20-programming.el')
-rw-r--r--emacs/inits/20-programming.el62
1 files changed, 2 insertions, 60 deletions
diff --git a/emacs/inits/20-programming.el b/emacs/inits/20-programming.el
index d1085d2..01d3c18 100644
--- a/emacs/inits/20-programming.el
+++ b/emacs/inits/20-programming.el
@@ -1,4 +1,4 @@
-;; Time-stamp: <2024-05-27 20h15 CEST (83a9252e)>
+;; Time-stamp: <2024-07-07 13h51 BST (0fb87241)>
;; -----------------------------------------------------------------------------
;; General setup
@@ -55,11 +55,6 @@
;; -----------------------------------------------------------------------------
;; Specific packages
-(use-package shift-number
- :ensure t
- :bind (("C-c s p" . shift-number-up)
- ("C-c s n" . shift-number-down)))
-
(use-package comment-dwim-2
:ensure t
:bind (("M-;" . comment-dwim-2))
@@ -100,10 +95,8 @@
:bind (:map c-mode-map
("M-m" . lh-matching-delim))
:hook ((c-mode c++-mode) . (lambda ()
- (when (string-match-p (regexp-quote "rdx-code") (buffer-file-name))
- (c-set-style "radix"))
(auto-fill-mode)
- ;; (aggressive-indent-mode)
+ (aggressive-indent-mode)
(set-fill-column 80)
(abbrev-mode 0)
(eglot-ensure) ;; clangd seems pretty good!
@@ -187,8 +180,6 @@
(substatement-open . +)
(template-args-cont c-lineup-template-args +)
(topmost-intro-cont . c-lineup-topmost-intro-cont))))
- (c-add-style "radix"
- '("gnu-mod" (c-basic-offset . 4)))
(setq c-default-style '((java-mode . "java")
(awk-mode . "awk")
@@ -291,55 +282,6 @@
("C-c r" . zig-run)
("C-c C-r" . my-zig-run)))
-;; (use-package js-comint
-;; :ensure t
-;; :defer t
-;; :config
-;; (setq js-comint-program-command "node"
-;; js-comint-program-arguments nil))
-
-;; (use-package js2-mode
-;; :ensure t
-;; :defer t
-;; :after js-comint
-;; :mode "\\.js$"
-;; :bind (:map js2-mode-map
-;; ("TAB" . js2-indent-line)
-;; ("C-x C-e" . js-send-last-sexp)
-;; ("C-c C-b" . js-send-buffer)
-;; ("C-c C-l" . js-load-file))
-;; :hook (js2-mode . (lambda ()
-;; (auto-revert-mode -1)
-;; (yas-minor-mode-on))))
-
-;; (use-package lua-mode
-;; :after nodemcu-mode
-;; :ensure t
-;; :defer t
-;; :bind (:map lua-mode-map
-;; ("C-x C-e" . lua-send-current-line)
-;; ("C-c C-d" . lua-send-defun)
-;; ("C-c C-e" . lua-send-region)
-;; ("C-c C-u" . nodemcu-better-upload-current-file)
-;; ("C-c C-t" . nodemcu-terminal)
-;; ("M-n" . lua-forward-sexp)
-;; ("M-p" . lua-backwards-to-block-begin-or-end))
-;; :hook (lua-mode . (lambda ()
-;; (require 'nodemcu-mode)
-;; (nodemcu-mode 1))))
-
-;; (use-package gforth
-;; :commands forth-mode
-;; :mode (("\\.fs$" . forth-mode)
-;; ("\\.fb$" . forth-block-mode)
-;; ("\\.4th$" . forth-mode)))
-
-;; (use-package uxntal-mode
-;; :ensure t
-;; :defer t
-;; :config
-;; (setq uxntal-mode-strict-comments t))
-
(use-package uiua-ts-mode
:ensure t
:defer)