mirror of
https://github.com/zoriya/dotfiles.git
synced 2026-06-04 03:26:38 +00:00
Fixing cino parenthesis
This commit is contained in:
@@ -64,7 +64,6 @@ end
|
||||
M.on_attach = function(client, bufnr)
|
||||
lsp_keymaps(bufnr)
|
||||
lsp_highlight_document(client)
|
||||
require "lsp_signature".on_attach()
|
||||
end
|
||||
|
||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
require "lsp.lsp-install"
|
||||
require("lsp.handlers").setup()
|
||||
require "lsp.cmp"
|
||||
require "lsp.signature"
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
local ok, signature = pcall(require, "lsp_signature")
|
||||
if not ok then
|
||||
return
|
||||
end
|
||||
|
||||
signature.setup({
|
||||
doc_lines = 100,
|
||||
fix_pos = true,
|
||||
always_trigger = true,
|
||||
|
||||
})
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
local options = {
|
||||
fileencoding = "utf-8",
|
||||
smartindent = true,
|
||||
expandtab = false,
|
||||
shiftwidth = 4,
|
||||
tabstop = 4,
|
||||
cinoptions = {
|
||||
"(1s"
|
||||
},
|
||||
|
||||
hlsearch = true,
|
||||
ignorecase = true,
|
||||
|
||||
Reference in New Issue
Block a user