forgot to remove this
This commit is contained in:
parent
b80b7699ae
commit
acba72006e
1 changed files with 0 additions and 10 deletions
|
@ -4,7 +4,6 @@ require("mason").setup()
|
||||||
-- ensure_installed = { "lua_ls", "omnisharp", "pyright", "clangd" },
|
-- ensure_installed = { "lua_ls", "omnisharp", "pyright", "clangd" },
|
||||||
--})
|
--})
|
||||||
require("mason-lspconfig").setup()
|
require("mason-lspconfig").setup()
|
||||||
local mason_null_ls = require("mason-null-ls")
|
|
||||||
|
|
||||||
local on_attach = function(client, bufnr)
|
local on_attach = function(client, bufnr)
|
||||||
vim.keymap.set("n", "<leader>rn", vim.lsp.buf.rename, {})
|
vim.keymap.set("n", "<leader>rn", vim.lsp.buf.rename, {})
|
||||||
|
@ -19,15 +18,6 @@ end
|
||||||
-- enable autocomplete
|
-- enable autocomplete
|
||||||
local capabilities = require("cmp_nvim_lsp").default_capabilities()
|
local capabilities = require("cmp_nvim_lsp").default_capabilities()
|
||||||
|
|
||||||
--format thing
|
|
||||||
--mason_null_ls.setup({
|
|
||||||
-- ensure_installed = {
|
|
||||||
-- "stylua",
|
|
||||||
-- "prettier",
|
|
||||||
-- },
|
|
||||||
--})
|
|
||||||
mason_null_ls.setup()
|
|
||||||
|
|
||||||
-- funny lsp config stuff
|
-- funny lsp config stuff
|
||||||
require('lspconfig').nil_ls.setup({
|
require('lspconfig').nil_ls.setup({
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
|
|
Loading…
Reference in a new issue