Compare commits
1 Commits
93c0eb4679
...
old
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5190c45daf |
@@ -19,11 +19,21 @@ return {
|
||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||
capabilities.textDocument.completion.completionItem.snippetSupport = true
|
||||
|
||||
vim.lsp.config("qmlls", {
|
||||
default_config = {
|
||||
cmd = { "qmlls" },
|
||||
filetypes = { "qml" },
|
||||
root_dir = lspconfig.util.root_pattern(".git", "."),
|
||||
}
|
||||
}
|
||||
|
||||
)
|
||||
vim.lsp.config("cssls", {
|
||||
capabilities = capabilities,
|
||||
})
|
||||
lspconfig.pyright.setup({})
|
||||
lspconfig.cssls.setup({})
|
||||
lspconfig.qmlls.setup({})
|
||||
lspconfig.ts_ls.setup({
|
||||
capabilities = capabilities,
|
||||
})
|
||||
@@ -40,10 +50,10 @@ return {
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
},
|
||||
|
||||
-- Autocompletion
|
||||
{
|
||||
-- Autocompletion
|
||||
{
|
||||
"hrsh7th/nvim-cmp",
|
||||
dependencies = {
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
@@ -92,10 +102,10 @@ return {
|
||||
}),
|
||||
})
|
||||
end,
|
||||
},
|
||||
},
|
||||
|
||||
-- Linting
|
||||
{
|
||||
-- Linting
|
||||
{
|
||||
"mfussenegger/nvim-lint",
|
||||
config = function()
|
||||
local lint = require("lint")
|
||||
@@ -118,10 +128,10 @@ return {
|
||||
end,
|
||||
})
|
||||
end,
|
||||
},
|
||||
},
|
||||
|
||||
-- autoformatting
|
||||
{
|
||||
-- autoformatting
|
||||
{
|
||||
"stevearc/conform.nvim",
|
||||
config = function()
|
||||
require("conform").setup({
|
||||
@@ -133,5 +143,5 @@ return {
|
||||
format_on_save = true,
|
||||
})
|
||||
end,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
4
lua/plugins/telescope.lua
Normal file
4
lua/plugins/telescope.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
return {
|
||||
'nvim-telescope/telescope.nvim',
|
||||
dependencies = { 'nvim-lua/plenary.nvim' }
|
||||
}
|
||||
Reference in New Issue
Block a user