Compare commits
11 commits
acf3bd232f
...
1bc367985b
| Author | SHA1 | Date | |
|---|---|---|---|
| 1bc367985b | |||
| 2967db2f01 | |||
| a665de04b6 | |||
| 7910879ff7 | |||
| dcb4fbfc60 | |||
| 7d78696264 | |||
| 2af4ee6f78 | |||
| d977e49f6a | |||
| e1c3728e22 | |||
| b0093793a9 | |||
| 91845f8e49 |
6 changed files with 42 additions and 49 deletions
|
|
@ -1,39 +0,0 @@
|
|||
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
||||
# The parser is also very primitive, and not human-friendly.
|
||||
fields=0 48 17 18 38 39 2 46 47 49 1 0
|
||||
sort_key=47
|
||||
sort_direction=-1
|
||||
tree_sort_key=0
|
||||
tree_sort_direction=1
|
||||
hide_kernel_threads=1
|
||||
hide_userland_threads=0
|
||||
shadow_other_users=0
|
||||
show_thread_names=0
|
||||
show_program_path=0
|
||||
highlight_base_name=0
|
||||
highlight_megabytes=1
|
||||
highlight_threads=1
|
||||
highlight_changes=0
|
||||
highlight_changes_delay_secs=5
|
||||
find_comm_in_cmdline=1
|
||||
strip_exe_from_cmdline=1
|
||||
show_merged_command=0
|
||||
tree_view=0
|
||||
tree_view_always_by_pid=0
|
||||
header_margin=1
|
||||
detailed_cpu_time=0
|
||||
cpu_count_from_one=1
|
||||
show_cpu_usage=1
|
||||
show_cpu_frequency=0
|
||||
show_cpu_temperature=0
|
||||
degree_fahrenheit=0
|
||||
update_process_names=0
|
||||
account_guest_in_cpu_meter=0
|
||||
color_scheme=0
|
||||
enable_mouse=1
|
||||
delay=15
|
||||
left_meters=AllCPUs Memory Swap
|
||||
left_meter_modes=1 1 1
|
||||
right_meters=Tasks LoadAverage Uptime
|
||||
right_meter_modes=2 2 2
|
||||
hide_function_bar=0
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
'(org-odd-levels-only t)
|
||||
'(org-todo-keywords '((sequence "TODO" "|" "DONE" "ABANDONED" "DEFERRED")))
|
||||
'(package-selected-packages
|
||||
'(flycheck-elm sql-indent eglot-java vterm lsp-pyright blacken nyan-mode earthfile-mode compat adaptive-wrap terraform-mode deadgrep protobuf-mode bazel howm python-mode color-theme-sanityinc-solarized monokai-theme rust-mode tide typescript-mode modus-themes tree-sitter flycheck-rust eglot ink-mode prettier-js zig-mode esup gnu-elpa-keyring-update lsp-hack hack-mode filladapt lsp-ui yaml-mode wgrep fsharp-mode company-lsp cquery mustache-mode clang-format projectile dash-functional mocha add-node-modules-path rjsx-mode xref-js2 js2-refactor company geiser cider clojure-mode graphviz-dot-mode multi-term xterm-color thrift markdown-mode tuareg merlin ag use-package flycheck dockerfile-mode js2-mode web-mode tss switch-window paredit magit lua-mode go-mode go-autocomplete exec-path-from-shell color-theme-monokai auto-complete auto-complete-nxml flymake flyspell json-mode popup ruby-mode company-jedi elm-mode monky color-theme-sanityinc-tomorrow))
|
||||
'(swift-mode flycheck-elm sql-indent eglot-java vterm lsp-pyright blacken nyan-mode earthfile-mode compat adaptive-wrap terraform-mode deadgrep protobuf-mode bazel howm python-mode color-theme-sanityinc-solarized monokai-theme rust-mode tide typescript-mode modus-themes tree-sitter flycheck-rust eglot ink-mode prettier-js zig-mode esup gnu-elpa-keyring-update lsp-hack hack-mode filladapt lsp-ui yaml-mode wgrep fsharp-mode company-lsp cquery mustache-mode clang-format projectile dash-functional mocha add-node-modules-path rjsx-mode xref-js2 js2-refactor company geiser cider clojure-mode graphviz-dot-mode multi-term xterm-color thrift markdown-mode tuareg merlin ag use-package flycheck dockerfile-mode js2-mode web-mode tss switch-window paredit magit lua-mode go-mode go-autocomplete exec-path-from-shell color-theme-monokai auto-complete auto-complete-nxml flymake flyspell json-mode popup ruby-mode company-jedi elm-mode monky color-theme-sanityinc-tomorrow))
|
||||
'(reb-re-syntax 'string)
|
||||
'(rmail-mail-new-frame t)
|
||||
'(safe-local-variable-values
|
||||
|
|
|
|||
|
|
@ -283,6 +283,7 @@
|
|||
|
||||
;; Fix path loading on MacOS X
|
||||
(when (memq window-system '(mac ns))
|
||||
(use-package exec-path-from-shell :ensure t)
|
||||
(exec-path-from-shell-initialize))
|
||||
|
||||
;;; Stefan Monnier <foo at acm.org>. It is the opposite of fill-paragraph
|
||||
|
|
@ -410,6 +411,12 @@
|
|||
(cond ((ts/is-deno-project) '("deno" "lsp" :initializationOptions :enable t :lint t))
|
||||
(t '("typescript-language-server" "--stdio"))))
|
||||
|
||||
(defun my-find-swift-lsp ()
|
||||
"Try to find the swift LSP."
|
||||
;; On windows with scoop this lives in a weird place.
|
||||
(or (executable-find "sourcekit-lsp") ;; Support newer clangd
|
||||
(executable-find "C:/Users/john/scoop/apps/swift/current/Developer/Toolchains/unknown-Asserts-development.xctoolchain/usr/bin/sourcekit-lsp")
|
||||
"sourcekit-lsp"))
|
||||
|
||||
(use-package eglot :ensure t
|
||||
:commands (eglot-ensure eglot)
|
||||
|
|
@ -423,6 +430,7 @@
|
|||
(go-mode . eglot-ensure) ;; 2022-07-29 Add eglot for go
|
||||
(typescript-mode . eglot-ensure) ;; 2023-09-03 Eglot for typescript
|
||||
(typescript-ts-mode . eglot-ensure) ;; 2023-09-03 Eglot for typescript
|
||||
(swift-mode . eglot-ensure) ;; 2023-11-11 Eglot for swift?
|
||||
|
||||
;; 2023-09-10 Respect language-specific formatters
|
||||
;;
|
||||
|
|
@ -463,9 +471,12 @@
|
|||
(:check (:command "clippy")))))
|
||||
;; --
|
||||
|
||||
(add-hook 'eglot-managed-mode-hook 'my-disable-flycheck-on-eglot)
|
||||
(remove-hook 'eglot-connect-hook 'eglot-signal-didChangeConfiguration)
|
||||
(add-hook 'eglot-connect-hook 'my-eglot-connect-hook))
|
||||
(add-to-list 'eglot-server-programs
|
||||
`(swift-mode . ( ,(my-find-swift-lsp) "--sync" "--log-level" "debug")))
|
||||
|
||||
(add-hook 'eglot-managed-mode-hook 'my-disable-flycheck-on-eglot)
|
||||
(remove-hook 'eglot-connect-hook 'eglot-signal-didChangeConfiguration)
|
||||
(add-hook 'eglot-connect-hook 'my-eglot-connect-hook))
|
||||
|
||||
;; NOTE: elgot defers to flymake for error information.
|
||||
(use-package flymake
|
||||
|
|
@ -973,7 +984,7 @@ Or, uh, Objective C, I guess."
|
|||
)
|
||||
|
||||
(use-package add-node-modules-path :ensure t
|
||||
:hook typescript-mode)
|
||||
:hook (typescript-mode . add-node-modules-path))
|
||||
|
||||
(use-package prettier-js :ensure t
|
||||
:hook (typescript-mode . prettier-js-mode))
|
||||
|
|
@ -1027,8 +1038,9 @@ Or, uh, Objective C, I guess."
|
|||
;; Magit stuff
|
||||
;; =================================================================
|
||||
(use-package magit :ensure t
|
||||
:bind ("C-x g" . magit-status))
|
||||
|
||||
:bind (("C-x g" . magit-status)
|
||||
("C-c g" . magit-dispatch)
|
||||
("C-c f" . magit-file-dispatch)))
|
||||
|
||||
;; =================================================================
|
||||
;; Mercurial stuff
|
||||
|
|
@ -1296,5 +1308,10 @@ Or, uh, Objective C, I guess."
|
|||
;; =================================================================
|
||||
(use-package sql-indent :ensure t)
|
||||
|
||||
;; =================================================================
|
||||
;; Swift
|
||||
;; =================================================================
|
||||
(use-package swift-mode :ensure t
|
||||
:mode "\\.swift\\(interface\\)?\\'")
|
||||
|
||||
;;; init.el ends here
|
||||
|
|
|
|||
|
|
@ -7,6 +7,8 @@
|
|||
[alias]
|
||||
st = status
|
||||
ci = commit
|
||||
[pull]
|
||||
rebase = true
|
||||
[push]
|
||||
default = upstream
|
||||
[init]
|
||||
|
|
@ -17,3 +19,8 @@
|
|||
selected = manager
|
||||
[credential "https://git.d0ty.me"]
|
||||
provider = generic
|
||||
[filter "lfs"]
|
||||
clean = git-lfs clean -- %f
|
||||
smudge = git-lfs smudge -- %f
|
||||
process = git-lfs filter-process
|
||||
required = true
|
||||
|
|
|
|||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -36,3 +36,4 @@ _viminfo
|
|||
vscode/History
|
||||
vscode/globalStorage
|
||||
vscode/workspaceStorage
|
||||
.config/htop/htoprc
|
||||
|
|
|
|||
|
|
@ -88,9 +88,14 @@
|
|||
"/Users/doty/lacework/services/bazel/rust/clippyallrust.py"
|
||||
],
|
||||
"remote.SSH.showLoginTerminal": true,
|
||||
"remote.SSH.remotePlatform": {"coder.doty-dev":"linux","192.168.0.114":"linux","coder-vscode--johndoty--doty-dev":"linux"},
|
||||
"remote.SSH.remotePlatform": {
|
||||
"coder.doty-dev": "linux",
|
||||
"192.168.0.114": "linux",
|
||||
"coder-vscode--johndoty--doty-dev": "linux",
|
||||
"doty-dev.johndoty.devspaces.dev.lacework.engineering": "linux"
|
||||
},
|
||||
"java.import.maven.enabled": false,
|
||||
"remote.autoForwardPortsSource": "process",
|
||||
"remote.autoForwardPortsSource": "hybrid",
|
||||
"go.toolsManagement.autoUpdate": true,
|
||||
"bazel.queriesShareServer": true,
|
||||
"remote.portsAttributes": {
|
||||
|
|
@ -104,5 +109,7 @@
|
|||
"[python]": {
|
||||
"editor.formatOnType": true
|
||||
},
|
||||
"git.confirmSync": false
|
||||
"git.confirmSync": false,
|
||||
"cmake.showOptionsMovedNotification": false,
|
||||
"jupyter.askForKernelRestart": false
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue