Add work nvim language pack, switch tmux prefix to Ctrl-Space
Work language support (C#, TS, JS, CSS, HTML, Prettier) is now gated behind a stow-loaded work-languages.lua module so it only activates when the work package is stowed. Tmux prefix changed from Ctrl-b to Ctrl-Space to match the neovim Space-leader feel. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
21
work/.config/nvim/lua/work-languages.lua
Normal file
21
work/.config/nvim/lua/work-languages.lua
Normal file
@@ -0,0 +1,21 @@
|
||||
-- Loaded by init.lua when this file exists (work stow package active).
|
||||
-- Mirrors work-dev-settings.el: C#, TypeScript, JavaScript, CSS, HTML + Prettier.
|
||||
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' },
|
||||
}
|
||||
Reference in New Issue
Block a user