Compare commits

...

2 Commits

Author SHA1 Message Date
Sam A. 800248f00f
Remove 'workspace' from Lua lsp settings 2023-05-11 02:28:20 +02:00
Sam A. abfbcdb504
Change indentation size to 2 for Lua 2023-05-11 02:27:50 +02:00
1 changed files with 128 additions and 132 deletions

View File

@ -46,7 +46,7 @@ vim.cmd.colorscheme('onedark')
-- settings for specific filetypes
vim.api.nvim_create_autocmd('FileType', {
pattern = { 'html', 'css', 'scss', 'json', 'yaml', 'yaml.*' },
pattern = { 'html', 'css', 'scss', 'lua', 'json', 'yaml', 'yaml.*' },
callback = function()
vim.opt_local.tabstop = 2
vim.opt_local.shiftwidth = 2
@ -180,10 +180,6 @@ lsp.lua_ls.setup {
diagnostics = {
globals = { 'vim' }
},
workspace = {
library = vim.api.nvim_get_runtime_file('', true),
checkThirdParty = false
},
telemetry = {
enable = false
}