Reduce frequency of lazy update checker, reenable fortran TS highlighting, add snippet completion back in
This commit is contained in:
parent
250684f15c
commit
5b6dd63620
|
@ -14,6 +14,7 @@ return {
|
|||
},
|
||||
},
|
||||
checker = {
|
||||
enabled = true
|
||||
}
|
||||
enabled = true,
|
||||
frequency = 86400,
|
||||
},
|
||||
}
|
||||
|
|
|
@ -2,7 +2,6 @@ return {
|
|||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false,
|
||||
disable = { "fortran" },
|
||||
},
|
||||
incremental_selection = {
|
||||
enable = true,
|
||||
|
@ -15,7 +14,6 @@ return {
|
|||
},
|
||||
indent = {
|
||||
enable = true,
|
||||
-- disable = { "python" },
|
||||
},
|
||||
refactor = {
|
||||
smart_rename = {
|
||||
|
|
|
@ -39,12 +39,20 @@ cmp.setup {
|
|||
},
|
||||
sources = {
|
||||
{ name = "nvim_lsp" },
|
||||
{ name = "luasnip" },
|
||||
},
|
||||
}
|
||||
|
||||
-- Set configuration for specific filetype.
|
||||
cmp.setup.filetype("python", {
|
||||
sources = {
|
||||
{ name = "nvim_lsp" },
|
||||
},
|
||||
})
|
||||
|
||||
cmp.setup.filetype("gitcommit", {
|
||||
sources = {
|
||||
{ name = "nvim_lsp" },
|
||||
{ name = "git" },
|
||||
{ name = "spell" },
|
||||
{ name = "commit" },
|
||||
|
@ -56,6 +64,7 @@ cmp.setup.filetype("gitcommit", {
|
|||
|
||||
cmp.setup.filetype("markdown", {
|
||||
sources = {
|
||||
{ name = "nvim_lsp" },
|
||||
{ name = "spell" },
|
||||
{ name = "buffer" },
|
||||
{ name = "luasnip" },
|
||||
|
@ -66,6 +75,7 @@ cmp.setup.filetype("markdown", {
|
|||
cmp.setup.cmdline("/", {
|
||||
mapping = cmp.mapping.preset.cmdline(),
|
||||
sources = {
|
||||
{ name = "nvim_lsp" },
|
||||
{ name = "buffer" },
|
||||
},
|
||||
})
|
||||
|
@ -73,6 +83,7 @@ cmp.setup.cmdline("/", {
|
|||
cmp.setup.cmdline(":", {
|
||||
mapping = cmp.mapping.preset.cmdline(),
|
||||
sources = {
|
||||
{ name = "nvim_lsp" },
|
||||
{ name = "path" },
|
||||
{ name = "cmdline" },
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue