···55-- Load Plugins
66require("plugins")
77-- Color Scheme
88-vim.cmd.colorscheme "catppuccin"
88+vim.cmd.colorscheme "noirbuddy"
99-- vim.cmd([[colorscheme kanagawa]])
1010-- Config for Nord, which I usually use
1111-- vim.g.nord_italic = false
+14-13
nvim/lua/lsp.lua
···1515 "pants.toml", "pyproject.toml", "setup.py", "setup.cfg", "Pipfile"
1616 }
1717 return util.find_git_ancestor(fname) or
1818- util.root_pattern(unpack(root_files))(fname)
1818+ util.root_pattern(unpack(root_files))(fname)
1919 end
2020})
2121nvim_lsp.lua_ls.setup {
···2727 },
2828 diagnostics = {
2929 -- Get the language server to recognize the `vim` global
3030- globals = {"vim"}
3030+ globals = { "vim" }
3131 },
3232 workspace = {
3333 -- Make the server aware of Neovim runtime files
3434 library = vim.api.nvim_get_runtime_file("", true)
3535 },
3636 -- Do not send telemetry data containing a randomized but unique identifier
3737- telemetry = {enable = false}
3737+ telemetry = { enable = false }
3838 }
3939 }
4040}
···4242nvim_lsp.janet_lsp.setup {
4343 cmd = {
4444 "janet",
4545- "-i",
4646- "/home/noah/repos/janet-lsp/jpm_tree/lib/janet-lsp.jimage",
4747- "--stdio",
4545+ "/home/noah/repos/janet-lsp/.jpm/bin/janet-lsp",
4646+ "--stdio"
4847 }
4948}
50495150-- LSPs that just use default config
5251local simple_lsps = {
5252+ --"htmx",
5353 "nil_ls", "bzl", "bufls", "crystalline", "dockerls",
5454 "erlangls", "elixirls", "fortls", "gleam", "gopls", "hls", "jsonls",
5555 "vimls", "asm_lsp", "ccls", "pyright", -- ruff", idk if this is wrong?
···5959 "ocamllsp", "reason_ls", "racket_langserver", "rust_analyzer",
6060 "scheme_langserver", "sqls", "thriftls", "typst_lsp", "vhdl_ls", "yamlls",
6161 "zls", "ts_ls", "eslint", "metals", "futhark_lsp", "roc_ls",
6262- -- disabled because broken
6262+ -- disabled because it's broken
6363 -- "scheme_langserver",
6464- -- "htmx",
6564}
6665-- #simple_lsps is the length of the table when treated as a list... funky!
6767-for _, v in pairs(simple_lsps) do nvim_lsp[v].setup {
6868- capabilities = capabilities
6969-} end
6666+for _, v in pairs(simple_lsps) do
6767+ nvim_lsp[v].setup {
6868+ capabilities = capabilities
6969+ }
7070+end
70717172nvim_lsp.fennel_ls.setup({
7273 capabilities = capabilities,
···7879 -- Enable completion triggered by <c-x><x-o>
7980 vim.bo[ev.buf].omnifunc = 'v:lua.vim.lsp.omnifunc'
80818181- local opts = {noremap = true, silent = true, buffer = ev.buf}
8282+ local opts = { noremap = true, silent = true, buffer = ev.buf }
8283 local protocol = require("vim.lsp.protocol")
8384 -- Mappings.
8485 -- See `:help vim.lsp.*` for documentation on any of the below functions
···101102 vim.keymap.set("n", "]d", vim.diagnostic.goto_next, opts)
102103 vim.keymap.set("n", "<space>q", vim.diagnostic.setloclist, opts)
103104 vim.keymap.set("n", "<space>f",
104104- function() vim.lsp.buf.format {async = true} end, opts)
105105+ function() vim.lsp.buf.format { async = true } end, opts)
105106 vim.keymap.set("n", "<space>s", vim.lsp.buf.workspace_symbol, opts)
106107107108 -- require'completion'.on_attach(client, bufnr)