This commit is contained in:
Sakooooo 2023-07-26 16:08:13 +03:00
parent ff313adec0
commit 3a315d4b7a
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -1,8 +1,9 @@
require("cmp") require("cmp")
require("mason").setup() require("mason").setup()
require("mason-lspconfig").setup({ --require("mason-lspconfig").setup({
-- ensure_installed = { "lua_ls", "omnisharp", "pyright", "clangd" }, -- ensure_installed = { "lua_ls", "omnisharp", "pyright", "clangd" },
}) --})
require("mason-lspconfig").setup()
local mason_null_ls = require("mason-null-ls") local mason_null_ls = require("mason-null-ls")
-- vscode -- vscode
@ -20,12 +21,13 @@ end
local capabilities = require("cmp_nvim_lsp").default_capabilities() local capabilities = require("cmp_nvim_lsp").default_capabilities()
--format thing --format thing
mason_null_ls.setup({ --mason_null_ls.setup({
-- ensure_installed = { -- ensure_installed = {
-- "stylua", -- "stylua",
-- "prettier", -- "prettier",
}, -- },
}) --})
mason_null_ls.setup()
-- funny lsp config stuff -- funny lsp config stuff
require('lspconfig').rnix.setup({ require('lspconfig').rnix.setup({