Skip to content

Commit f6ae4ac

Browse files
committed
don't link to the removed Zig FAQ
It used to provide some answers about `zig fmt`. Hopefully this will be added back to the ziglang.org website.
1 parent ae4c3eb commit f6ae4ac

File tree

5 files changed

+1
-13
lines changed

5 files changed

+1
-13
lines changed

content/zls/editors/sublime-text.smd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@
3030
// Keep in mind that these settings apply to any language and not just Zig.
3131

3232
// Formatting with ZLS matches `zig fmt`.
33-
// The Zig FAQ answers some questions about `zig fmt`:
34-
// https://github.com/ziglang/zig/wiki/FAQ
3533
"lsp_format_on_save": true,
3634
"lsp_code_actions_on_save": {
3735
// Run code actions that currently supports adding and removing discards.

content/zls/editors/vim/coc.smd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
// enable format-on-save from CoC + ZLS
2222
//
2323
// Formatting with ZLS matches `zig fmt`.
24-
// The Zig FAQ answers some questions about `zig fmt`:
25-
// https://github.com/ziglang/zig/wiki/FAQ
2624
"coc.preferences.formatOnSave": true,
2725

2826
// Show inlay hints in the editor. Inlay hints are short annotations within the code,

content/zls/editors/vim/nvim-lspconfig.smd

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ vim.g.zig_fmt_autosave = 0
3131
-- enable format-on-save from nvim-lspconfig + ZLS
3232
--
3333
-- Formatting with ZLS matches `zig fmt`.
34-
-- The Zig FAQ answers some questions about `zig fmt`:
35-
-- https://github.com/ziglang/zig/wiki/FAQ
3634
vim.api.nvim_create_autocmd('BufWritePre',{
3735
pattern = {"*.zig", "*.zon"},
3836
callback = function(ev)
@@ -84,8 +82,6 @@ let g:zig_fmt_autosave = 0
8482
" enable format-on-save from nvim-lspconfig + ZLS
8583
"
8684
" Formatting with ZLS matches `zig fmt`.
87-
" The Zig FAQ answers some questions about `zig fmt`:
88-
" https://github.com/ziglang/zig/wiki/FAQ
8985
autocmd BufWritePre *.zig,*.zon lua vim.lsp.buf.format()
9086

9187
:lua << EOF

content/zls/editors/vscode.smd

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ With that being said, there are some Zig specific settings that you may wish to
3232

3333
// All nested settings will only affect Zig files.
3434
"[zig]": {
35-
// The Zig FAQ answers some common questions about Zig's formatter (`zig fmt`)
36-
// https://github.com/ziglang/zig/wiki/FAQ
37-
//
35+
// Formatting with ZLS matches `zig fmt`.
3836
// "editor.formatOnSave": false,
3937

4038
// "editor.inlayHints.enabled": "off",

content/zls/editors/zed.smd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ Add the following to your `settings.json`:
1717
"languages": {
1818
"Zig": {
1919
// Formatting with ZLS matches `zig fmt`.
20-
// The Zig FAQ answers some questions about `zig fmt`:
21-
// https://github.com/ziglang/zig/wiki/FAQ
2220
"format_on_save": "language_server",
2321
// Make sure that zls is the primary language server
2422
"language_servers": ["zls", "..."],

0 commit comments

Comments
 (0)