kjahskjahd

This commit is contained in:
2025-03-19 10:51:47 +01:00
parent c908c09d09
commit f0bed5a2bc
2 changed files with 48 additions and 36 deletions

@ -9,7 +9,7 @@
{
"context": "",
"bindings": {
"ctrl-q": null, // "zed::Quit",
"ctrl-q": null // "zed::Quit"
}
},
{
@ -68,8 +68,7 @@
"ctrl-shift-l": "language_selector::Toggle",
"ctrl-alt": "editor::OpenUrl",
// "alt-enter": "editor::OpenUrl",
// "ctrl-shift-enter": "editor::FindAllReferences",
"ctrl-enter": "editor::GoToDefinition", // TODO: open-url, and somehow disable FindAllReferences fallback behavior here
// "ctrl-enter": ["editor::GoToDefinition", "editor::OpenUrl"],

@ -98,36 +98,17 @@
"vhdl": true
},
"languages": {
// "Python": {
// "language_servers": ["pylsp", "!pyright", "!basedpyright"]
// // "enable_language_server": false,
// // "preferred_line_length": 120
// },
"Nix": {
"tab_size": 2,
"format_on_save": "off"
}
},
"lsp": {
"typos": {
"initialization_options": {
// bundled binary is dynamically linked
"path": "typos-lsp"
}
},
"nil": {
"initialization_options": {
"formatting": { "command": ["nixfmt"] }
// bundled binary is dynamically linked
}
}
},
"file_types": {
"CMake": ["CMakeLists.txt"]
}
// "languages": {
// "Python": {
// "language_servers": ["pylsp", "!pyright", "!basedpyright"]
// // "enable_language_server": false,
// // "preferred_line_length": 120
// }
// },
// "lsp": {
// "pyright": { "enabled": false },
// "basedpyright": { "enabled": false },
// "pylsp": {
@ -151,6 +132,38 @@
// "rope": { "enabled": false }, // completions and linting
// "yapf": { "enabled": false }
// }
// }
// }
// },
"typos": {
"initialization_options": {
// bundled binary is dynamically linked
"path": "typos-lsp"
}
},
"nil": {
"initialization_options": {
"formatting": { "command": ["nixfmt"] }
// bundled binary is dynamically linked
}
},
"harper": {
"initialization_options": {
"linters": {
// "SpellCheck": true,
// "SpelledNumbers": false,
// "AnA": true,
// "SentenceCapitalization": true,
// "UnclosedQuotes": true,
// "WrongQuotes": false,
"LongSentences": false
// "RepeatedWords": true,
// "Spaces": true,
// "Matcher": true,
// "CorrectNumberSuffix": true,
}
}
}
},
"file_types": {
"CMake": ["CMakeLists.txt"]
}
}