@@ -43,6 +43,7 @@ This function should only modify configuration layer settings."
4343 emacs-lisp
4444 git ; ; maggit
4545 helm
46+ docker
4647 (nixos :variables
4748 nix-backend 'lsp
4849 nixos-format-on-save t ) ; ; I DECLARE LINUX!!!
@@ -59,7 +60,8 @@ This function should only modify configuration layer settings."
5960 (typescript :variables
6061 typescript-fmt-tool 'prettier
6162 typescript-linter 'eslint
62- typescript-fmt-on-save t ) ; ; js but like better?
63+ ; ;typescript-fmt-on-save t
64+ ) ; ; js but like better?
6365 (python :variables
6466 python-backend 'lsp ) ; ;
6567 (org :variables
@@ -73,9 +75,10 @@ This function should only modify configuration layer settings."
7375 pdf ; ; refusing to pay adobe is morally right
7476 svelte ; ; frontend-for-hipsters
7577 vue ; ; vite vite vite vue
76- github-copilot ; ; ai is thou
78+ ; ; github-copilot ;; ai is thou
7779 (yaml :variables
78- yaml-enable-lsp t ) ; ;
80+ yaml-enable-lsp t ) ; ; evil clearly fomatted
81+ toml ; ; what if we tried yet another std
7982 (json :variables
8083 json-fmt-on-save t
8184 json-fmt-tool 'prettier ) ; ; the prefered backend/frontend love letter format
@@ -652,7 +655,21 @@ before packages are loaded."
652655 ; ;INFO: in macos, you can increase the repeat rate of keys
653656 ; ; M-x nerd-icons-install-fonts to fix doom-emacs status line
654657 (add-to-list 'exec-path " /etc/profiles/per-user/henri.vandersleyen/bin" )
655-
658+ ; ; --- misc problems ---
659+ (electric-indent-mode 0 ) ; ; removes the extra tab being added after copy pasting
660+ ; ; --- ai ---
661+ (with-eval-after-load 'company
662+ ; ; disable inline previews
663+ (delq 'company-preview-if-just-one-frontend company-frontends))
664+
665+ ; ; (with-eval-after-load 'copilot (define-key copilot-completion-map (kbd "<tab>") 'copilot-accept-completion)
666+ ; ; (define-key copilot-completion-map (kbd "TAB") 'copilot-accept-completion)
667+ ; ; (define-key copilot-completion-map (kbd "C-TAB") 'copilot-accept-completion-by-word)
668+ ; ; (define-key copilot-completion-map (kbd "C-<tab>") 'copilot-accept-completion-by-word))
669+
670+ ; ; (add-hook 'prog-mode-hook 'copilot-mode)
671+ ; ; --- editorconfig ---
672+ (editorconfig-mode 1 )
656673 ; ; --- js/ts ---
657674 (setq-default
658675 ; ; js2-mode
@@ -692,6 +709,7 @@ before packages are loaded."
692709 (insert " [/]" )
693710 ))
694711
712+
695713 ; ; keybinding will only be available in org mode
696714 (add-hook 'org-mode-hook
697715 (lambda ()
@@ -702,7 +720,15 @@ before packages are loaded."
702720 (setq org-todo-keywords
703721 '((sequence " TODO(t)" " NEXT(n)" " |" " DONE(d!)" )
704722 (sequence " BACKLOG(b)" " PLAN(p)" " READY(r)" " ACTIVE(a)" " REVIEW(v)" " WAIT(w@/!)" " HOLD(h)" " |" " COMPLETED(c)" " CANC(k@)" )))
705-
723+ ; ; --- lsp ---
724+ ; ; Enable lsp-mode for Python
725+ (add-hook 'python-mode-hook #'lsp )
726+ ; ; Enable lsp-mode for TypeScript
727+ (add-hook 'typescript-mode-hook #'lsp )
728+ ; ; Enable lsp-mode for JavaScript
729+ (add-hook 'js-mode-hook #'lsp )
730+ ; ; prevents refactor move
731+ (setq lsp-auto-execute-action nil )
706732 ; ; --- org-roam ---
707733 (setq org-roam-directory " ~/Documents/zettelkasten/org-roam" )
708734 (setq org-journal-dir " ~/Documents/zettelkasten/org/journal" )
@@ -739,11 +765,11 @@ This function is called at the very end of Spacemacs initialization."
739765 ; ; Your init file should contain only one such instance.
740766 ; ; If there is more than one, they won't work right.
741767 '(package-selected-packages
742- '(ob-typescript web-mode nix-ts-mode blacken code-cells company-anaconda anaconda-mode cython-mode dap-mode lsp-docker bui helm-pydoc importmagic epc ctable concurrent live-py-mode lsp-pyright pip-requirements pipenv load-env-vars pippel poetry py-isort pydoc pyenv-mode pythonic pylookup pytest pyvenv sphinx-doc yapfify company-shell fish-mode flycheck-bashate insert-shebang shfmt reformatter exec-path-from-shell yaml-mode doom-modeline shrink-path nerd-icons treemacs-all-the-icons add-node-modules-path auto-dictionary auto-yasnippet browse-at-remote catppuccin-theme code-review emojify deferred a color-identifiers-mode company-nixos-options diff-hl doom-themes eat esh-help eshell-prompt-extras eshell-z evil-org flycheck-pos-tip pos-tip flyspell-correct-helm flyspell-correct flyspell-popup git-link git-messenger git-modes git-timemachine gitignore-templates gnuplot helm-c-yasnippet helm-company helm-git-grep helm-ls-git helm-lsp helm-nixos-options helm-org-rifle htmlize js-doc js2-refactor multiple-cursors json-mode json-navigator json-reformat json-snatcher ligature livid-mode lsp-origami origami lsp-treemacs lsp-ui lsp-mode multi-term multi-vterm xref nix-mode nixos-options nodejs-repl npm-mode nyan-mode org-cliplink org-contrib org-download org-mime org-pomodoro alert log4e gntp org-present org-projectile org-project-capture org-category-capture org-rich-yank org-roam-ui websocket org-roam orgit-forge orgit forge yaml ghub closql emacsql treepy org prettier-js rainbow-identifiers rainbow-mode shell-pop skewer-mode js2-mode simple-httpd smeargle sops sqlite3 terminal-here treemacs-magit magit with-editor transient magit-section typescript-mode unicode-fonts ucs-utils font-utils persistent-soft pcache vterm web-beautify xkcd yasnippet-snippets yasnippet company-emoji company emoji-cheat-sheet-plus gh-md markdown-toc markdown-mode valign vmd-mode ws-butler writeroom-mode winum which-key vundo volatile-highlights vim-powerline vi-tilde-fringe uuidgen undo-fu-session undo-fu treemacs-projectile treemacs-persp treemacs-icons-dired treemacs-evil toc-org term-cursor symon symbol-overlay string-inflection string-edit-at-point spacemacs-whitespace-cleanup spacemacs-purpose-popwin spaceline space-doc restart-emacs request rainbow-delimiters quickrun popwin pcre2el password-generator paradox overseer org-superstar open-junk-file nameless multi-line macrostep lorem-ipsum link-hint inspector info+ indent-guide hybrid-mode hungry-delete holy-mode hl-todo highlight-parentheses highlight-numbers highlight-indentation hide-comnt helm-xref helm-themes helm-swoop helm-purpose helm-projectile helm-org helm-mode-manager helm-make helm-descbinds helm-comint helm-ag google-translate golden-ratio flycheck-package flycheck-elsa flx-ido fancy-battery eyebrowse expand-region evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-textobj-line evil-surround evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state evil-lion evil-indent-plus evil-iedit-state evil-goggles evil-exchange evil-evilified-state evil-escape evil-easymotion evil-collection evil-cleverparens evil-args evil-anzu eval-sexp-fu emr elisp-slime-nav elisp-demos elisp-def editorconfig dumb-jump drag-stuff dotenv-mode disable-mouse dired-quick-sort diminish devdocs define-word column-enforce-mode clean-aindent-mode centered-cursor-mode auto-highlight-symbol auto-compile all-the-icons aggressive-indent ace-link ace-jump-helm-line)))
768+ '(toml-mode docker aio dockerfile-mode ob-typescript web-mode nix-ts-mode blacken code-cells company-anaconda anaconda-mode cython-mode dap-mode lsp-docker bui helm-pydoc importmagic epc ctable concurrent live-py-mode lsp-pyright pip-requirements pipenv load-env-vars pippel poetry py-isort pydoc pyenv-mode pythonic pylookup pytest pyvenv sphinx-doc yapfify company-shell fish-mode flycheck-bashate insert-shebang shfmt reformatter exec-path-from-shell yaml-mode doom-modeline shrink-path nerd-icons treemacs-all-the-icons add-node-modules-path auto-dictionary auto-yasnippet browse-at-remote catppuccin-theme code-review emojify deferred a color-identifiers-mode company-nixos-options diff-hl doom-themes eat esh-help eshell-prompt-extras eshell-z evil-org flycheck-pos-tip pos-tip flyspell-correct-helm flyspell-correct flyspell-popup git-link git-messenger git-modes git-timemachine gitignore-templates gnuplot helm-c-yasnippet helm-company helm-git-grep helm-ls-git helm-lsp helm-nixos-options helm-org-rifle htmlize js-doc js2-refactor multiple-cursors json-mode json-navigator json-reformat json-snatcher ligature livid-mode lsp-origami origami lsp-treemacs lsp-ui lsp-mode multi-term multi-vterm xref nix-mode nixos-options nodejs-repl npm-mode nyan-mode org-cliplink org-contrib org-download org-mime org-pomodoro alert log4e gntp org-present org-projectile org-project-capture org-category-capture org-rich-yank org-roam-ui websocket org-roam orgit-forge orgit forge yaml ghub closql emacsql treepy org prettier-js rainbow-identifiers rainbow-mode shell-pop skewer-mode js2-mode simple-httpd smeargle sops sqlite3 terminal-here treemacs-magit magit with-editor transient magit-section typescript-mode unicode-fonts ucs-utils font-utils persistent-soft pcache vterm web-beautify xkcd yasnippet-snippets yasnippet company-emoji company emoji-cheat-sheet-plus gh-md markdown-toc markdown-mode valign vmd-mode ws-butler writeroom-mode winum which-key vundo volatile-highlights vim-powerline vi-tilde-fringe uuidgen undo-fu-session undo-fu treemacs-projectile treemacs-persp treemacs-icons-dired treemacs-evil toc-org term-cursor symon symbol-overlay string-inflection string-edit-at-point spacemacs-whitespace-cleanup spacemacs-purpose-popwin spaceline space-doc restart-emacs request rainbow-delimiters quickrun popwin pcre2el password-generator paradox overseer org-superstar open-junk-file nameless multi-line macrostep lorem-ipsum link-hint inspector info+ indent-guide hybrid-mode hungry-delete holy-mode hl-todo highlight-parentheses highlight-numbers highlight-indentation hide-comnt helm-xref helm-themes helm-swoop helm-purpose helm-projectile helm-org helm-mode-manager helm-make helm-descbinds helm-comint helm-ag google-translate golden-ratio flycheck-package flycheck-elsa flx-ido fancy-battery eyebrowse expand-region evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-textobj-line evil-surround evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state evil-lion evil-indent-plus evil-iedit-state evil-goggles evil-exchange evil-evilified-state evil-escape evil-easymotion evil-collection evil-cleverparens evil-args evil-anzu eval-sexp-fu emr elisp-slime-nav elisp-demos elisp-def editorconfig dumb-jump drag-stuff dotenv-mode disable-mouse dired-quick-sort diminish devdocs define-word column-enforce-mode clean-aindent-mode centered-cursor-mode auto-highlight-symbol auto-compile all-the-icons aggressive-indent ace-link ace-jump-helm-line)))
743769 (custom-set-faces
744770 ; ; custom-set-faces was added by Custom.
745771 ; ; If you edit it by hand, you could mess it up, so be careful.
746772 ; ; Your init file should contain only one such instance.
747773 ; ; If there is more than one, they won't work right.
748- )
774+ '(treemacs-hl-line-face (( t ( :background " #e64553 " )))) )
749775 )
0 commit comments