This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local capabilities = vim.lsp.protocol.make_client_capabilities() | |
local on_attach = require("user.lsp.handlers").on_attach | |
local on_attach = function(client) | |
if client.name == "gleam" then | |
client.server_capabilities.documentFormattingProvider = true | |
end | |
-- lsp_keymaps() loads my lsp handler keymaps, not gleam specific and you should | |
-- have this handled somehow if other lsp work for you | |
lsp_keymaps() |