Skip to content

Instantly share code, notes, and snippets.

@lamg
Created May 24, 2025 08:21
Show Gist options
  • Save lamg/888d163c8943233aff1a703b6ea7c217 to your computer and use it in GitHub Desktop.
Save lamg/888d163c8943233aff1a703b6ea7c217 to your computer and use it in GitHub Desktop.
Lunar Vim F#
-- Read the docs: https://www.lunarvim.org/docs/configuration
vim.o.guifont = "Cascadia Code:h16"
vim.opt.shell = "/bin/fish"
-- indentation
vim.opt.tabstop = 2
vim.opt.shiftwidth = 2
vim.opt.smartindent = true
vim.opt.wrap = true
lvim.plugins = {
{ "lunarvim/colorschemes" },
{ "sainnhe/sonokai" },
{ "ionide/Ionide-vim" },
{
"olimorris/onedarkpro.nvim",
priority = 1000 -- Ensure it loads first
},
{ "neovim/nvim-lspconfig" },
{"ntessore/unicode-math.vim"}
}
local l = require("lspconfig")
l.fsautocomplete.setup {
on_attach = function(client, bufnr)
client.server_capabilities.codeLensProvider = false
end,
}
vim.g["fsharp#lsp_codelens"] = 0
lvim.colorscheme = "onelight"
vim.cmd [[command! -nargs=0 C register /=""]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment