Split laptop/work into independent stow packages with shared/ base
- Remove work/laptop detection logic from nvim and emacs configs; each
package now has a self-contained init that requires no runtime checks
- Create shared/ stow package containing nvim/init.lua, emacs/init.el,
common-dev-settings.el, org-bindings.el, tmux, ghostty, and ranger
- Rename laptop-languages.lua / work-languages.lua → languages.lua in
each package; shared/init.lua uses require('languages') generically
- Rename work-dev-settings.el → dev-settings.el to match laptop naming
- Expand work/ to include the full set of dev tools (tmux, ghostty,
ranger, emacs, neovim) without email/calendar tooling
- Add Makefile with `make laptop` and `make work` targets (each runs
a single `stow shared <profile>` invocation)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
;;; work-dev-settings.el --- Work/WSL development environment
|
||||
;;; dev-settings.el --- Work development environment (C#, TypeScript, JavaScript, CSS, HTML)
|
||||
|
||||
;;; C#
|
||||
;; LSP server: dotnet tool install -g csharp-ls
|
||||
@@ -58,5 +58,5 @@
|
||||
(css-ts-mode . prettier-mode)
|
||||
(html-ts-mode . prettier-mode)))
|
||||
|
||||
(provide 'work-dev-settings)
|
||||
;;; work-dev-settings.el ends here
|
||||
(provide 'dev-settings)
|
||||
;;; dev-settings.el ends here
|
||||
@@ -1,5 +1,7 @@
|
||||
-- Loaded by init.lua when this file exists (work stow package active).
|
||||
-- Mirrors work-dev-settings.el: C#, TypeScript, JavaScript, CSS, HTML + Prettier.
|
||||
-- Work language pack: C#, TypeScript, JavaScript, CSS, HTML, Prettier.
|
||||
-- Loaded by shared/init.lua via require('languages').
|
||||
|
||||
|
||||
return {
|
||||
servers = {
|
||||
ts_ls = {}, -- handles TypeScript, TSX, JavaScript, JSX
|
||||
Reference in New Issue
Block a user