mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-26 21:31:45 +00:00
Compare commits
No commits in common. "1695a1d3fcf2831e0ba1661e9e4a0c10f3e2045d" and "3a0179741792ccbba05de73c82ccef8793fc886e" have entirely different histories.
1695a1d3fc
...
3a01797417
@ -176,8 +176,8 @@ return {
|
||||
-- Some languages (like typescript) have entire language plugins that can be useful:
|
||||
-- https://github.com/pmizio/typescript-tools.nvim
|
||||
--
|
||||
-- But for many setups, the LSP (`ts_ls`) will work just fine
|
||||
-- ts_ls = {},
|
||||
-- But for many setups, the LSP (`tsserver`) will work just fine
|
||||
-- tsserver = {},
|
||||
--
|
||||
|
||||
lua_ls = {
|
||||
@ -218,7 +218,7 @@ return {
|
||||
local server = servers[server_name] or {}
|
||||
-- This handles overriding only values explicitly passed
|
||||
-- by the server configuration above. Useful when disabling
|
||||
-- certain features of an LSP (for example, turning off formatting for ts_ls)
|
||||
-- certain features of an LSP (for example, turning off formatting for tsserver)
|
||||
server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {})
|
||||
require('lspconfig')[server_name].setup(server)
|
||||
end,
|
||||
|
Loading…
Reference in New Issue
Block a user