Files
dotfiles/work/.config/nvim/lua/languages.lua
Rob Harbaugh 541564775a 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>
2026-04-22 10:45:41 -04:00

24 lines
675 B
Lua

-- 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
cssls = {},
html = {},
csharp_ls = {},
},
parsers = { 'c_sharp', 'css', 'html', 'javascript', 'tsx', 'typescript' },
formatters = {
javascript = { 'prettier' },
javascriptreact = { 'prettier' },
typescript = { 'prettier' },
typescriptreact = { 'prettier' },
css = { 'prettier' },
html = { 'prettier' },
json = { 'prettier' },
},
tools = { 'prettier' },
}