-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
24 lines (18 loc) · 830 Bytes
/
Copy pathinit.lua
File metadata and controls
24 lines (18 loc) · 830 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
-- Load Lazy.nvim plugin manager configuration
require("config.lazy") -- This file likely contains the Lazy.nvim setup and plugin configuration
vim.filetype.add({
extension = {
js = "javascriptreact",
},
})
-- Create an LSP (Language Server Protocol) client capabilities object
local capabilities = vim.lsp.protocol.make_client_capabilities()
-- Enable inlay hints support (but this is later overridden)
capabilities.textDocument.inlayHint = {
dynamicRegistration = false, -- Disables dynamic registration for inlay hints
}
-- Explicitly disable Inlay Hints support by setting it to nil
capabilities.textDocument.inlayHint = nil -- Ensures that inlay hints are fully disabled
capabilities = capabilities,
-- Enable debugging for LSP logs
vim.lsp.set_log_level("error") -- Useful for troubleshooting LSP-related issues