You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/nvim/init.lua
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -96,22 +96,22 @@ Response:
96
96
97
97
-- The easiest way to configure the language server is to use the nvim-lspconfig plugin: https://github.com/neovim/nvim-lspconfig
98
98
-- Use the following snippet to configure it after installing it with the plugin manager of your choice.
99
+
-- See the nvim-lspconfig docs for the supported parameters on top of the init_options at https://github.com/neovim/nvim-lspconfig/blob/master/doc/lspconfig.txt
99
100
require('nvim-lspconfig').lsp_ai.setup {
100
-
-- See the nvim-lspconfig docs for the supported parameters on top of the init_options at https://github.com/neovim/nvim-lspconfig/blob/master/doc/lspconfig.txt
101
-
root_dir=vim.loop.cwd(),
101
+
root_dir=vim.fn.getcwd(),
102
102
init_options=lsp_ai_init_options,
103
103
}
104
104
105
105
-- Start lsp-ai or attach the active instance when opening a buffer, handled automatically when using nvim-lspconfig
0 commit comments