Skip to content

Commit 0fb3fca

Browse files
Fix Lua table syntax for neovim config (#8)
1 parent 543a7f4 commit 0fb3fca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ lspconfig.zls.setup {
6060
--
6161
-- Further information about build-on save:
6262
-- https://zigtools.org/zls/guides/build-on-save/
63-
-- enable_build_on_save: true,
63+
-- enable_build_on_save = true,
6464

6565
-- omit the following line if `zig` is in your PATH
66-
zig_exe_path: '/path/to/zig_executable'
66+
zig_exe_path = '/path/to/zig_executable'
6767
}
6868
}
6969
}
@@ -108,10 +108,10 @@ autocmd BufWritePre *.zig,*.zon lua vim.lsp.buf.format()
108108
--
109109
-- Further information about build-on save:
110110
-- https://zigtools.org/zls/guides/build-on-save/
111-
-- enable_build_on_save: true,
111+
-- enable_build_on_save = true,
112112

113113
-- omit the following line if `zig` is in your PATH
114-
zig_exe_path: '/path/to/zig_executable'
114+
zig_exe_path = '/path/to/zig_executable'
115115
}
116116
}
117117
}

0 commit comments

Comments
 (0)