Compare commits

...

2 commits

Author SHA1 Message Date
leafee98 62de8c72bc make use of ftplugin 2023-07-21 14:48:45 +08:00
leafee98 d520fe69da remove pylsp as LSP 2023-07-21 11:58:12 +08:00
5 changed files with 5 additions and 1 deletions

1
ftplugin/Makefile.lua Normal file
View file

@ -0,0 +1 @@
vim.bo.expandtab = false

1
ftplugin/css.lua Normal file
View file

@ -0,0 +1 @@
vim.bo.tabstop = 2

1
ftplugin/html.lua Normal file
View file

@ -0,0 +1 @@
vim.bo.tabstop = 2

1
ftplugin/javascript.lua Normal file
View file

@ -0,0 +1 @@
vim.bo.tabstop = 2

View file

@ -52,7 +52,7 @@ return {
config = function (_, opts)
local capabilities = require("cmp_nvim_lsp").default_capabilities()
local servers = { "clangd", "rust_analyzer", "pyright", "gopls", "quick_lint_js", "pylsp" }
local servers = { "clangd", "rust_analyzer", "pyright", "gopls", "quick_lint_js" }
for _, lsp in ipairs(servers) do
require("lspconfig")[lsp].setup{
capabilities = capabilities,