Skip to content

Instantly share code, notes, and snippets.

View effinsky's full-sized avatar
💭
ChugginAway

effinsky effinsky

💭
ChugginAway
View GitHub Profile
@effinsky
effinsky / gleam.lua
Last active October 7, 2024 16:20
condensed gleam setup for neovim
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()