Clean up some ftplugin files

main
Ensar Sarajčić 2022-05-08 23:58:35 +02:00
parent 24136e13d1
commit 7534b6658a
6 changed files with 12 additions and 6 deletions

View File

@ -0,0 +1,5 @@
vim.bo.shiftwidth = 4
vim.bo.tabstop = 4
vim.bo.softtabstop = 4
vim.bo.expandtab = true
vim.bo.autoindent = true

View File

@ -1,2 +0,0 @@
setlocal ts=4 sts=4 sw=4 expandtab autoindent
let b:undo_ftplugin = '|setlocal ts< sts< sw< expandtab< autoindent<'

View File

@ -0,0 +1,5 @@
vim.bo.tabstop = 2
vim.bo.softtabstop = 2
vim.bo.shiftwidth = 2
vim.bo.expandtab = true
vim.bo.autoindent = true

View File

@ -1,2 +0,0 @@
setlocal ts=2 sts=2 sw=2 expandtab autoindent
let b:undo_ftplugin .= '|setlocal ts< sts< sw< expandtab< autoindent<'

View File

@ -0,0 +1 @@
return require("cmp_nvim_lsp").update_capabilities(vim.lsp.protocol.make_client_capabilities())

View File

@ -4,8 +4,7 @@
local lspconfig = require("lspconfig")
local common_config = require("esensar.lsp.server_config")
local capabilities = require("cmp_nvim_lsp").update_capabilities(vim.lsp.protocol.make_client_capabilities())
local capabilities = require("esensar.lsp.capabilities")
-- Lsp default language servers
local servers = {