Add kubed
This commit is contained in:
parent
0ad03f0890
commit
711887311b
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,5 +4,6 @@ auto-save-list
|
|||||||
.cache
|
.cache
|
||||||
var
|
var
|
||||||
straight
|
straight
|
||||||
|
eln-cache
|
||||||
*~
|
*~
|
||||||
\#*#
|
\#*#
|
@ -40,7 +40,17 @@
|
|||||||
"Install use-package.el"
|
"Install use-package.el"
|
||||||
(setq use-package-enable-imenu-support t)
|
(setq use-package-enable-imenu-support t)
|
||||||
(straight-use-package 'use-package)
|
(straight-use-package 'use-package)
|
||||||
(straight-use-package 'diminish))
|
(straight-use-package 'diminish)
|
||||||
|
|
||||||
|
(require 'use-package-ensure)
|
||||||
|
(setq use-package-always-ensure t)
|
||||||
|
;; (use-package auto-package-update
|
||||||
|
;; :config
|
||||||
|
;; (setq auto-package-update-delete-old-versions t)
|
||||||
|
;; (setq auto-package-update-hide-results t)
|
||||||
|
;; (auto-package-update-maybe)
|
||||||
|
;; )
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
23
init.el
23
init.el
@ -1,11 +1,28 @@
|
|||||||
|
(setq
|
||||||
|
visible-bell t
|
||||||
|
inhibit-startup-message t
|
||||||
|
auto-save-default nil
|
||||||
|
make-backup-files nil
|
||||||
|
set-mark-command-repeat-pop t
|
||||||
|
large-file-warning-threshold nil
|
||||||
|
vc-follow-symlinks t
|
||||||
|
ad-redefinition-action 'accept
|
||||||
|
global-auto-revert-non-file-buffers t
|
||||||
|
native-comp-async-report-warnings-errors nil
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;; Load early-init.el regardless of the way Emacs was started.
|
;; Load early-init.el regardless of the way Emacs was started.
|
||||||
(require 'nano-defaults (expand-file-name "nano-defaults" user-emacs-directory))
|
;; (require 'nano-defaults (expand-file-name "nano-defaults" user-emacs-directory))
|
||||||
(require 'nano-splash (expand-file-name "nano-splash" user-emacs-directory))
|
;; (require 'nano-splash (expand-file-name "nano-splash" user-emacs-directory))
|
||||||
(require 'early-init (expand-file-name "early-init" user-emacs-directory))
|
(require 'early-init (expand-file-name "early-init" user-emacs-directory))
|
||||||
|
|
||||||
;; Load no-littering.el before anything else to keep ~/.emacs.d/ tidy.
|
;; Load no-littering.el before anything else to keep ~/.emacs.d/ tidy.
|
||||||
(use-package no-littering :straight t)
|
(use-package no-littering)
|
||||||
|
|
||||||
|
|
||||||
|
(setq create-lockfiles nil)
|
||||||
(no-littering-theme-backups)
|
(no-littering-theme-backups)
|
||||||
(when (and (fboundp 'startup-redirect-eln-cache)
|
(when (and (fboundp 'startup-redirect-eln-cache)
|
||||||
(fboundp 'native-comp-available-p)
|
(fboundp 'native-comp-available-p)
|
||||||
|
@ -1,51 +1,15 @@
|
|||||||
;; -*- lexical-binding: t -*-
|
;; -*- lexical-binding: t -*-
|
||||||
(setq gc-cons-threshold (* 100 1024 1024))
|
(setq gc-cons-threshold (* 100 1024 1024)
|
||||||
(setq read-process-output-max (* 1024 1024)) ;; 1mb
|
read-process-output-max (* 1024 1024) ;; 1mb
|
||||||
|
|
||||||
(setq uniquify-buffer-name-style 'forward)
|
uniquify-buffer-name-style 'forward
|
||||||
|
visible-bell t
|
||||||
(save-place-mode 1)
|
ring-bell-function 'ignore
|
||||||
|
window-divider-default-right-width 3
|
||||||
(set-default 'cursor-type '(bar . 1))
|
window-divider-default-places 'right-only
|
||||||
(blink-cursor-mode 0)
|
|
||||||
|
|
||||||
(setq visible-bell t)
|
|
||||||
(setq ring-bell-function 'ignore)
|
|
||||||
|
|
||||||
(show-paren-mode t)
|
|
||||||
|
|
||||||
(defun mode-line-render (left right)
|
|
||||||
"Function to render the modeline LEFT to RIGHT."
|
|
||||||
(concat left
|
|
||||||
(propertize " " 'display `(space :align-to (- right ,(length right))))
|
|
||||||
right))
|
|
||||||
(setq-default mode-line-format
|
|
||||||
'((:eval
|
|
||||||
(mode-line-render
|
|
||||||
(format-mode-line (list
|
|
||||||
(propertize "☰" 'face `(:inherit mode-line-buffer-id)
|
|
||||||
'help-echo "Mode(s) menu"
|
|
||||||
'mouse-face 'mode-line-highlight
|
|
||||||
'local-map mode-line-major-mode-keymap)
|
|
||||||
" %b "
|
|
||||||
(if (and buffer-file-name (buffer-modified-p))
|
|
||||||
(propertize "(modified)" 'face `(:inherit face-faded)))))
|
|
||||||
(format-mode-line
|
|
||||||
(propertize "%4l:%2c" 'face `(:inherit face-faded)))))))
|
|
||||||
;;; -------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
;;; -------------------------------------------------------------------
|
backup-directory-alist '(("." . "~/.backups"))
|
||||||
|
|
||||||
|
|
||||||
;;; Vertical window divider
|
|
||||||
;;; -------------------------------------------------------------------
|
|
||||||
(setq window-divider-default-right-width 3)
|
|
||||||
(setq window-divider-default-places 'right-only)
|
|
||||||
(window-divider-mode)
|
|
||||||
|
|
||||||
|
|
||||||
(setq backup-directory-alist '(("." . "~/.backups"))
|
|
||||||
make-backup-files t ; backup of a file the first time it is saved.
|
make-backup-files t ; backup of a file the first time it is saved.
|
||||||
backup-by-copying t ; don't clobber symlinks
|
backup-by-copying t ; don't clobber symlinks
|
||||||
version-control t ; version numbers for backup files
|
version-control t ; version numbers for backup files
|
||||||
@ -55,28 +19,77 @@
|
|||||||
kept-new-versions 9 ; newest versions to keep when a new numbered
|
kept-new-versions 9 ; newest versions to keep when a new numbered
|
||||||
; backup is made (default: 2)
|
; backup is made (default: 2)
|
||||||
auto-save-default t ; auto-save every buffer that visits a file
|
auto-save-default t ; auto-save every buffer that visits a file
|
||||||
auto-save-timeout 20 ; number of seconds idle time before auto-save
|
auto-save-timeout 3 ; number of seconds idle time before auto-save
|
||||||
; (default: 30)
|
; (default: 30)
|
||||||
auto-save-interval 200) ; number of keystrokes between auto-saves
|
auto-save-interval 200 ; number of keystrokes between auto-saves
|
||||||
; (default: 300)
|
; (default: 300)
|
||||||
(setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
|
x-select-enable-primary t
|
||||||
|
x-select-enable-clipboard t
|
||||||
|
mouse-drag-copy-region t
|
||||||
|
meow-cursor-type-default 'bar
|
||||||
(when (getenv "WAYLAND_DISPLAY")
|
meow-cursor-type-motion 'bar
|
||||||
(setq wl-copy-process nil)
|
meow-cursor-type-beacon 'bar
|
||||||
(defun wl-copy (text)
|
meow-cursor-type-insert '(hbar . 2)
|
||||||
(setq wl-copy-process (make-process :name "wl-copy"
|
|
||||||
:buffer nil
|
|
||||||
:command '("wl-copy" "-f" "-n")
|
|
||||||
:connection-type 'pipe))
|
|
||||||
(process-send-string wl-copy-process text)
|
|
||||||
(process-send-eof wl-copy-process))
|
|
||||||
(defun wl-paste ()
|
|
||||||
(if (and wl-copy-process (process-live-p wl-copy-process))
|
|
||||||
nil ; should return nil if we're the current paste owner
|
|
||||||
(shell-command-to-string "wl-paste -n | tr -d \r")))
|
|
||||||
(setq interprogram-cut-function 'wl-copy)
|
|
||||||
(setq interprogram-paste-function 'wl-paste)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
;; Move global mode string to the tab-bar and hide tab close buttons
|
||||||
|
(setq tab-bar-close-button-show nil
|
||||||
|
tab-bar-separator " "
|
||||||
|
tab-bar-format '(tab-bar-format-menu-bar
|
||||||
|
tab-bar-format-tabs-groups
|
||||||
|
tab-bar-separator
|
||||||
|
tab-bar-format-align-right
|
||||||
|
tab-bar-format-global)
|
||||||
|
)
|
||||||
|
|
||||||
|
;; Turn on the tab-bar
|
||||||
|
(tab-bar-mode 1)
|
||||||
|
|
||||||
|
;; y/n for answering yes/no questions
|
||||||
|
(fset 'yes-or-no-p 'y-or-n-p)
|
||||||
|
|
||||||
|
;; No tabs
|
||||||
|
(setq-default indent-tabs-mode nil
|
||||||
|
|
||||||
|
;; Tab.space equivalence
|
||||||
|
tab-width 4)
|
||||||
|
|
||||||
|
;; Buffer encoding
|
||||||
|
(prefer-coding-system 'utf-8)
|
||||||
|
(set-default-coding-systems 'utf-8)
|
||||||
|
(set-terminal-coding-system 'utf-8)
|
||||||
|
(set-keyboard-coding-system 'utf-8)
|
||||||
|
(set-language-environment 'utf-8)
|
||||||
|
|
||||||
|
(set-default 'cursor-type '(hbar . 2))
|
||||||
|
|
||||||
|
(repeat-mode 1) ;; Enable repeating key maps
|
||||||
|
(menu-bar-mode 0) ;; Hide the menu bar
|
||||||
|
(tool-bar-mode 0) ;; Hide the tool bar
|
||||||
|
(savehist-mode 1) ;; Save minibuffer history
|
||||||
|
(scroll-bar-mode 0) ;; Hide the scroll bar
|
||||||
|
(xterm-mouse-mode 1) ;; Enable mouse events in terminal Emacs
|
||||||
|
(fido-vertical-mode 1) ;; Improved vertical minibuffer completions
|
||||||
|
(column-number-mode 1) ;; Show column number on mode line
|
||||||
|
(tab-bar-history-mode 1) ;; Remember previous tab window configurations
|
||||||
|
(tool-bar-mode -1)
|
||||||
|
(auto-save-visited-mode 1) ;; Auto-save files at an interval
|
||||||
|
(global-visual-line-mode 1) ;; Visually wrap long lines in all buffers
|
||||||
|
(global-auto-revert-mode 1) ;; Refresh buffers with changed local files
|
||||||
|
(blink-cursor-mode 0)
|
||||||
|
(show-paren-mode t)
|
||||||
|
(window-divider-mode)
|
||||||
(pixel-scroll-precision-mode)
|
(pixel-scroll-precision-mode)
|
||||||
|
|
||||||
|
|
||||||
|
;; Delete trailing whitespace before saving buffers
|
||||||
|
(add-hook 'before-save-hook 'delete-trailing-whitespace)
|
||||||
|
|
||||||
|
|
||||||
|
(setq display-buffer-alist
|
||||||
|
'(("\\*\\(shell\\|.*term\\|.*eshell\\|help\\|compilation\\|Async Shell Command\\|Occur\\|xref\\).*\\*"
|
||||||
|
(display-buffer-reuse-window display-buffer-in-side-window)
|
||||||
|
(side . bottom) ; Popups go at the bottom
|
||||||
|
(slot . 0) ; Use the first slot at the bottom
|
||||||
|
(post-command-select-window . t) ; Select the window upon display
|
||||||
|
(window-height . 0.3)))) ; 30% of the frame height
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
(set-face-attribute 'default nil :font "BlexMono Nerd Font Mono" :height 150 :weight 'semi-light)
|
(set-face-attribute 'default nil :font "BlexMono Nerd Font Mono" :height 150 :weight 'semi-light)
|
||||||
|
|
||||||
(use-package doom-modeline
|
(use-package doom-modeline
|
||||||
:straight t
|
|
||||||
:config
|
:config
|
||||||
(setq doom-modeline-hud nil)
|
(setq doom-modeline-hud nil)
|
||||||
(setq doom-modeline-icon nil)
|
(setq doom-modeline-icon nil)
|
||||||
@ -11,12 +10,10 @@
|
|||||||
(doom-modeline-mode 1)
|
(doom-modeline-mode 1)
|
||||||
)
|
)
|
||||||
|
|
||||||
(use-package all-the-icons
|
(use-package all-the-icons)
|
||||||
:straight t)
|
|
||||||
|
|
||||||
(use-package doom-themes
|
(use-package doom-themes
|
||||||
:ensure t
|
:ensure t
|
||||||
:straight t
|
|
||||||
:config
|
:config
|
||||||
;; Global settings (defaults)
|
;; Global settings (defaults)
|
||||||
(setq doom-themes-enable-bold t ; if nil, bold is universally disabled
|
(setq doom-themes-enable-bold t ; if nil, bold is universally disabled
|
||||||
@ -35,18 +32,15 @@
|
|||||||
(doom-themes-org-config)
|
(doom-themes-org-config)
|
||||||
)
|
)
|
||||||
|
|
||||||
(use-package aggressive-indent
|
(use-package aggressive-indent)
|
||||||
:straight t)
|
|
||||||
|
|
||||||
|
|
||||||
(use-package rainbow-delimiters
|
(use-package rainbow-delimiters
|
||||||
:straight t
|
|
||||||
:config
|
:config
|
||||||
(add-hook 'prog-mode-hook #'rainbow-delimiters-mode))
|
(add-hook 'prog-mode-hook #'rainbow-delimiters-mode))
|
||||||
|
|
||||||
|
|
||||||
(use-package dashboard
|
(use-package dashboard
|
||||||
:straight t
|
|
||||||
:ensure t
|
:ensure t
|
||||||
:init
|
:init
|
||||||
(setq dashboard-startup-banner 3)
|
(setq dashboard-startup-banner 3)
|
||||||
@ -80,7 +74,6 @@
|
|||||||
|
|
||||||
|
|
||||||
(use-package treemacs
|
(use-package treemacs
|
||||||
:straight t
|
|
||||||
:ensure t
|
:ensure t
|
||||||
:defer t
|
:defer t
|
||||||
:init
|
:init
|
||||||
@ -165,21 +158,7 @@
|
|||||||
|
|
||||||
|
|
||||||
(use-package treemacs-magit
|
(use-package treemacs-magit
|
||||||
:after (treemacs magit)
|
:after (treemacs magit))
|
||||||
:ensure t
|
|
||||||
:straight t)
|
|
||||||
|
|
||||||
(with-eval-after-load 'treemacs
|
(with-eval-after-load 'treemacs
|
||||||
(define-key treemacs-mode-map [mouse-1] #'treemacs-single-click-expand-action))
|
(define-key treemacs-mode-map [mouse-1] #'treemacs-single-click-expand-action))
|
||||||
|
|
||||||
(setq truncate-lines t)
|
|
||||||
|
|
||||||
|
|
||||||
(use-package centaur-tabs
|
|
||||||
:demand
|
|
||||||
:config
|
|
||||||
(setq centaur-tabs-set-bar 'under)
|
|
||||||
(setq x-underline-at-descent-line t)
|
|
||||||
(setq centaur-tabs-plain-icons t)
|
|
||||||
:custom
|
|
||||||
(centaur-tabs-mode t))
|
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
(use-package corfu
|
(use-package corfu
|
||||||
:straight t
|
|
||||||
:custom
|
:custom
|
||||||
(corfu-cycle t) ;; Enable cycling for `corfu-next/previous'
|
(corfu-cycle t) ;; Enable cycling for `corfu-next/previous'
|
||||||
(corfu-auto t) ;; Enable auto completion
|
(corfu-auto t) ;; Enable auto completion
|
||||||
;; (corfu-separator ?\s) ;; Orderless field separator
|
;; (corfu-separator ?\s) ;; Orderless field separator
|
||||||
;; (corfu-quit-at-boundary nil) ;; Never quit at completion boundary
|
(corfu-quit-at-boundary nil) ;; Never quit at completion boundary
|
||||||
;; (corfu-quit-no-match nil) ;; Never quit, even if there is no match
|
;; (corfu-quit-no-match nil) ;; Never quit, even if there is no match
|
||||||
(corfu-preview-current nil) ;; Disable current candidate preview
|
(corfu-preview-current nil) ;; Disable current candidate preview
|
||||||
;; (corfu-preselect 'prompt) ;; Preselect the prompt
|
;; (corfu-preselect 'prompt) ;; Preselect the prompt
|
||||||
@ -96,12 +95,10 @@
|
|||||||
|
|
||||||
|
|
||||||
(use-package consult-lsp
|
(use-package consult-lsp
|
||||||
:straight t
|
|
||||||
:ensure t)
|
:ensure t)
|
||||||
|
|
||||||
;; Enable vertico
|
;; Enable vertico
|
||||||
(use-package vertico
|
(use-package vertico
|
||||||
:straight t
|
|
||||||
:custom
|
:custom
|
||||||
;; (vertico-scroll-margin 0) ;; Different scroll margin
|
;; (vertico-scroll-margin 0) ;; Different scroll margin
|
||||||
(vertico-count 10) ;; Show more candidates
|
(vertico-count 10) ;; Show more candidates
|
||||||
@ -131,7 +128,6 @@
|
|||||||
)
|
)
|
||||||
|
|
||||||
(use-package vertico-posframe
|
(use-package vertico-posframe
|
||||||
:straight t
|
|
||||||
:after vertico-multiform
|
:after vertico-multiform
|
||||||
:ensure nil
|
:ensure nil
|
||||||
:config
|
:config
|
||||||
@ -149,13 +145,11 @@
|
|||||||
|
|
||||||
;; Persist history over Emacs restarts. Vertico sorts by history position.
|
;; Persist history over Emacs restarts. Vertico sorts by history position.
|
||||||
(use-package savehist
|
(use-package savehist
|
||||||
:straight t
|
|
||||||
:init
|
:init
|
||||||
(savehist-mode))
|
(savehist-mode))
|
||||||
|
|
||||||
;; A few more useful configurations...
|
;; A few more useful configurations...
|
||||||
(use-package emacs
|
(use-package emacs
|
||||||
:straight t
|
|
||||||
:custom
|
:custom
|
||||||
;; Support opening new minibuffers from inside existing minibuffers.
|
;; Support opening new minibuffers from inside existing minibuffers.
|
||||||
(enable-recursive-minibuffers t)
|
(enable-recursive-minibuffers t)
|
||||||
@ -169,7 +163,7 @@
|
|||||||
|
|
||||||
;; Enable indentation+completion using the TAB key.
|
;; Enable indentation+completion using the TAB key.
|
||||||
;; `completion-at-point' is often bound to M-TAB.
|
;; `completion-at-point' is often bound to M-TAB.
|
||||||
(tab-always-indent 'complete)
|
;; (tab-always-indent 'complete)
|
||||||
|
|
||||||
;; Emacs 30 and newer: Disable Ispell completion function. As an alternative,
|
;; Emacs 30 and newer: Disable Ispell completion function. As an alternative,
|
||||||
;; try `cape-dict'.
|
;; try `cape-dict'.
|
||||||
@ -197,12 +191,10 @@
|
|||||||
(add-hook 'minibuffer-setup-hook #'cursor-intangible-mode)
|
(add-hook 'minibuffer-setup-hook #'cursor-intangible-mode)
|
||||||
)
|
)
|
||||||
|
|
||||||
(use-package hotfuzz
|
(use-package hotfuzz)
|
||||||
:straight t)
|
|
||||||
|
|
||||||
;; Optionally use the `orderless' completion style.
|
;; Optionally use the `orderless' completion style.
|
||||||
(use-package orderless
|
(use-package orderless
|
||||||
:straight t
|
|
||||||
:custom
|
:custom
|
||||||
;; Configure a custom style dispatcher (see the Consult wiki)
|
;; Configure a custom style dispatcher (see the Consult wiki)
|
||||||
;; (orderless-style-dispatchers '(+orderless-consult-dispatch orderless-affix-dispatch))
|
;; (orderless-style-dispatchers '(+orderless-consult-dispatch orderless-affix-dispatch))
|
||||||
@ -212,12 +204,16 @@
|
|||||||
(completion-category-overrides nil))
|
(completion-category-overrides nil))
|
||||||
|
|
||||||
(use-package marginalia
|
(use-package marginalia
|
||||||
:straight t
|
|
||||||
:config
|
:config
|
||||||
(marginalia-mode 1))
|
(marginalia-mode 1))
|
||||||
|
|
||||||
|
|
||||||
|
;; Consult users will also want the embark-consult package.
|
||||||
|
(use-package embark-consult
|
||||||
|
:hook
|
||||||
|
(embark-collect-mode . consult-preview-at-point-mode))
|
||||||
|
|
||||||
(use-package embark
|
(use-package embark
|
||||||
:ensure t
|
|
||||||
:init
|
:init
|
||||||
;; Optionally replace the key help with a completing-read interface
|
;; Optionally replace the key help with a completing-read interface
|
||||||
(setq prefix-help-command #'embark-prefix-help-command)
|
(setq prefix-help-command #'embark-prefix-help-command)
|
||||||
@ -239,7 +235,3 @@
|
|||||||
(window-parameters (mode-line-format . none)))))
|
(window-parameters (mode-line-format . none)))))
|
||||||
|
|
||||||
;; Consult users will also want the embark-consult package.
|
;; Consult users will also want the embark-consult package.
|
||||||
(use-package embark-consult
|
|
||||||
:ensure t ; only need to install it, embark loads it after consult if found
|
|
||||||
:hook
|
|
||||||
(embark-collect-mode . consult-preview-at-point-mode))
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
|
|
||||||
(use-package meow
|
(use-package meow
|
||||||
:straight t
|
|
||||||
:demand t
|
:demand t
|
||||||
:config
|
:config
|
||||||
(require 'meow)
|
(require 'meow)
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
(use-package wakatime-mode
|
(use-package wakatime-mode
|
||||||
:straight t
|
|
||||||
:init
|
:init
|
||||||
(global-wakatime-mode))
|
(global-wakatime-mode))
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
;; Posframe is a pop-up tool that must be manually installed for dap-mode
|
;; Posframe is a pop-up tool that must be manually installed for dap-mode
|
||||||
(use-package posframe
|
(use-package posframe)
|
||||||
:straight t)
|
|
||||||
|
|
||||||
;; Use the Debug Adapter Protocol for running tests and debugging
|
;; Use the Debug Adapter Protocol for running tests and debugging
|
||||||
(use-package dap-mode
|
(use-package dap-mode
|
||||||
:straight t
|
|
||||||
:hook
|
:hook
|
||||||
(lsp-mode . dap-mode)
|
(lsp-mode . dap-mode)
|
||||||
(lsp-mode . dap-ui-mode))
|
(lsp-mode . dap-ui-mode))
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
(use-package lsp-mode
|
(use-package lsp-mode
|
||||||
:straight t
|
|
||||||
;; Optional - enable lsp-mode automatically in scala files
|
;; Optional - enable lsp-mode automatically in scala files
|
||||||
;; You could also swap out lsp for lsp-deffered in order to defer loading
|
;; You could also swap out lsp for lsp-deffered in order to defer loading
|
||||||
:hook
|
:hook
|
||||||
@ -31,6 +30,7 @@
|
|||||||
;; https://emacs-lsp.github.io/lsp-mode/page/settings/mode/#lsp-keep-workspace-alive
|
;; https://emacs-lsp.github.io/lsp-mode/page/settings/mode/#lsp-keep-workspace-alive
|
||||||
(setq lsp-keep-workspace-alive nil)
|
(setq lsp-keep-workspace-alive nil)
|
||||||
(setq lsp-auto-execute-action nil)
|
(setq lsp-auto-execute-action nil)
|
||||||
|
(setq lsp-nix-nil-formatter ["nixfmt"])
|
||||||
|
|
||||||
(with-eval-after-load 'lsp-mode
|
(with-eval-after-load 'lsp-mode
|
||||||
(add-to-list 'lsp-file-watch-ignored-directories "[/\\\\]\\.bloop\\'")
|
(add-to-list 'lsp-file-watch-ignored-directories "[/\\\\]\\.bloop\\'")
|
||||||
@ -59,16 +59,9 @@
|
|||||||
(setq lsp-ui-doc-position 'bottom)
|
(setq lsp-ui-doc-position 'bottom)
|
||||||
(setq lsp-ui-doc-delay 3)
|
(setq lsp-ui-doc-delay 3)
|
||||||
(setq lsp-ui-doc-show-with-cursor t)
|
(setq lsp-ui-doc-show-with-cursor t)
|
||||||
(setq lsp-ui-doc-show-with-mouse t)
|
(setq lsp-ui-doc-show-with-mouse t))
|
||||||
|
|
||||||
:straight t)
|
|
||||||
|
|
||||||
|
|
||||||
(use-package lsp-treemacs
|
(use-package lsp-treemacs
|
||||||
:straight t
|
|
||||||
:init
|
:init
|
||||||
(lsp-treemacs-sync-mode 1)
|
(lsp-treemacs-sync-mode 1)
|
||||||
)
|
)
|
||||||
|
|
||||||
(use-package dap-mode
|
|
||||||
:straight t)
|
|
||||||
|
@ -1,2 +1 @@
|
|||||||
(use-package magit
|
(use-package magit)
|
||||||
:straight t)
|
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
(use-package projectile
|
(use-package projectile
|
||||||
:demand t
|
:demand t
|
||||||
:straight t
|
|
||||||
:init
|
:init
|
||||||
;; ensure projectile saves its files in a nice location
|
;; ensure projectile saves its files in a nice location
|
||||||
(setq projectile-cache-file
|
(setq projectile-cache-file
|
||||||
@ -32,4 +31,3 @@
|
|||||||
;; (leader-keys
|
;; (leader-keys
|
||||||
;; "p" 'projectile-command-map)
|
;; "p" 'projectile-command-map)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
(use-package tree-sitter
|
(use-package tree-sitter
|
||||||
:straight t
|
|
||||||
:config
|
:config
|
||||||
(global-tree-sitter-mode))
|
(global-tree-sitter-mode))
|
||||||
|
|
||||||
(use-package tree-sitter-langs
|
(use-package tree-sitter-langs)
|
||||||
:straight t)
|
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
(use-package dockerfile-mode
|
(use-package dockerfile-mode
|
||||||
:straight t
|
|
||||||
:init
|
:init
|
||||||
(require 'dockerfile-mode))
|
(require 'dockerfile-mode))
|
||||||
|
@ -1,2 +1,10 @@
|
|||||||
(use-package nix-mode :straight t
|
;; (use-package nix-lsp
|
||||||
|
;; :ensure lsp-mode
|
||||||
|
;; :after (lsp-mode)
|
||||||
|
;; :demand t
|
||||||
|
;; :custom
|
||||||
|
;; (lsp-nix-nil-formatter ["nixfmt"]))
|
||||||
|
|
||||||
|
(use-package nix-mode
|
||||||
|
:hook (nix-mode . lsp-deferred)
|
||||||
:mode "\\.nix\\'")
|
:mode "\\.nix\\'")
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
(use-package scala-mode
|
(use-package scala-mode
|
||||||
:straight t
|
|
||||||
:interpreter ("scala" . scala-mode))
|
:interpreter ("scala" . scala-mode))
|
||||||
|
|
||||||
;; Enable sbt mode for executing sbt commands
|
;; Enable sbt mode for executing sbt commands
|
||||||
(use-package sbt-mode
|
(use-package sbt-mode
|
||||||
:straight t
|
|
||||||
:commands sbt-start sbt-command
|
:commands sbt-start sbt-command
|
||||||
:config
|
:config
|
||||||
;; WORKAROUND: https://github.com/ensime/emacs-sbt-mode/issues/31
|
;; WORKAROUND: https://github.com/ensime/emacs-sbt-mode/issues/31
|
||||||
@ -18,7 +16,4 @@
|
|||||||
|
|
||||||
|
|
||||||
;; Add metals backend for lsp-mode
|
;; Add metals backend for lsp-mode
|
||||||
(use-package lsp-metals
|
(use-package lsp-metals)
|
||||||
:straight t)
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,3 +1 @@
|
|||||||
(use-package yaml-mode
|
(use-package yaml-mode)
|
||||||
:straight t
|
|
||||||
)
|
|
||||||
|
6
lisp/70-kubed.el
Normal file
6
lisp/70-kubed.el
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
(use-package kubed
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
|
(keymap-global-set "C-c k" 'kubed-prefix-map)
|
||||||
|
)
|
9
lisp/70-org.el
Normal file
9
lisp/70-org.el
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
|
||||||
|
;; (require 'org)
|
||||||
|
|
||||||
|
(use-package esxml
|
||||||
|
:ensure t
|
||||||
|
)
|
||||||
|
|
||||||
|
(use-package ox-rss
|
||||||
|
:ensure t)
|
@ -1,9 +1,7 @@
|
|||||||
;; (use-package rg
|
;; (use-package rg
|
||||||
;; :straight t
|
|
||||||
;; :config (rg-enable-default-bindings))
|
;; :config (rg-enable-default-bindings))
|
||||||
|
|
||||||
;; (use-package fzf
|
;; (use-package fzf
|
||||||
;; :straight t
|
|
||||||
;; :ensure t
|
;; :ensure t
|
||||||
;; ;;:config
|
;; ;;:config
|
||||||
;; ;; (setq fzf/args "-x --color bw --print-query --margin=1,0 --no-hscroll"
|
;; ;; (setq fzf/args "-x --color bw --print-query --margin=1,0 --no-hscroll"
|
||||||
@ -20,11 +18,9 @@
|
|||||||
|
|
||||||
|
|
||||||
(use-package projectile
|
(use-package projectile
|
||||||
:straight t
|
|
||||||
:config
|
:config
|
||||||
(projectile-mode +1))
|
(projectile-mode +1))
|
||||||
|
|
||||||
(use-package which-key
|
(use-package which-key
|
||||||
:straight t
|
|
||||||
:ensure t
|
:ensure t
|
||||||
:config (which-key-mode))
|
:config (which-key-mode))
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
|
|
||||||
|
|
||||||
(use-package bind-key
|
(use-package bind-key)
|
||||||
:straight t)
|
|
||||||
|
|
||||||
(require 'meow)
|
(require 'meow)
|
||||||
(require 'bind-key)
|
(require 'bind-key)
|
||||||
|
Loading…
Reference in New Issue
Block a user