best plugin ever created
This commit is contained in:
@@ -1,11 +1,55 @@
|
||||
{
|
||||
"suggest.noselect": true,
|
||||
"suggest.enablePreselect": false,
|
||||
"suggest.triggerAfterInsertEnter": true,
|
||||
"inlineSuggest.autoTrigger": false,
|
||||
"suggest.completionItemKindLabels": {
|
||||
"text": "",
|
||||
"method": "",
|
||||
"function": "",
|
||||
"constructor": "",
|
||||
"field": "",
|
||||
"variable": "",
|
||||
"class": "",
|
||||
"interface": "",
|
||||
"module": "",
|
||||
"property": "",
|
||||
"unit": "",
|
||||
"value": "",
|
||||
"enum": "",
|
||||
"keyword": "",
|
||||
"snippet": "",
|
||||
"color": "",
|
||||
"file": "",
|
||||
"reference": "",
|
||||
"folder": "",
|
||||
"enumMember": "",
|
||||
"constant": "",
|
||||
"struct": "",
|
||||
"event": "",
|
||||
"operator": "",
|
||||
"typeParameter": "",
|
||||
"default": ""
|
||||
},
|
||||
"suggest.floatConfig": {
|
||||
"maxWidth": 80,
|
||||
"winblend": 1,
|
||||
},
|
||||
"suggest.virtualText": false,
|
||||
|
||||
"languageserver": {
|
||||
"hyprlang": {
|
||||
"command": "hyprls",
|
||||
"filetypes": ["hyprlang"]
|
||||
},
|
||||
"qml": {
|
||||
"command": "qmlls6",
|
||||
"filetypes": ["qml"]
|
||||
}
|
||||
},
|
||||
"git.addedSign.hlGroup": "GitGutterAdd",
|
||||
"git.changedSign.hlGroup": "GitGutterChange",
|
||||
"git.removedSign.hlGroup": "GitGutterDelete",
|
||||
"coc.source.file.enable": true,
|
||||
"coc.source.file.ignoreHidden": false,
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ require("options")
|
||||
require("globals")
|
||||
require("mappings")
|
||||
require("autocmd")
|
||||
require("coc-settings")
|
||||
-- require("coc-settings")
|
||||
|
||||
if vim.g.neovide then
|
||||
require("config.neovide")
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
vim.opt.backup = false
|
||||
vim.opt.writebackup = false
|
||||
vim.opt.completeopt = "menuone,menu,noinsert,noselect,popup"
|
||||
vim.opt.pumheight = 10
|
||||
|
||||
vim.opt.updatetime = 300
|
||||
|
||||
@@ -17,11 +19,12 @@ end
|
||||
-- NOTE: Use command ':verbose imap <tab>' to make sure Tab is not mapped by
|
||||
-- other plugins before putting this into your config
|
||||
local opts = {silent = true, noremap = true, expr = true, replace_keycodes = false}
|
||||
keyset("i", "<TAB>", 'coc#pum#visible() ? coc#pum#next(1) : v:lua.check_back_space() ? "<TAB>" : coc#refresh()', opts)
|
||||
keyset("i", "<S-TAB>", [[coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"]], opts)
|
||||
keyset("i", "<TAB>", 'coc#pum#visible() ? coc#pum#next(0) : v:lua.check_back_space() ? "<TAB>" : coc#refresh()', opts)
|
||||
keyset("i", "<S-TAB>", [[coc#pum#visible() ? coc#pum#prev(0) : "\<C-h>"]], opts)
|
||||
|
||||
-- Make <CR> to accept selected completion item or notify coc.nvim to format
|
||||
-- <C-g>u breaks current undo, please make your own choice
|
||||
|
||||
keyset("i", "<cr>", [[coc#pum#visible() ? coc#pum#confirm() : "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"]], opts)
|
||||
|
||||
-- Use <c-j> to trigger snippets
|
||||
|
||||
@@ -52,3 +52,6 @@ local is_windows = vim.fn.has "win32" ~= 0
|
||||
local sep = is_windows and "\\" or "/"
|
||||
local delim = is_windows and ";" or ":"
|
||||
vim.env.PATH = table.concat({ vim.fn.stdpath "data", "mason", "bin" }, sep) .. delim .. vim.env.PATH
|
||||
|
||||
-- vim-tpipeline
|
||||
vim.g.tpipeline_restore = 1
|
||||
|
||||
+2
-15
@@ -182,7 +182,7 @@ return {
|
||||
},
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
enabled = false,
|
||||
enabled = true,
|
||||
dependencies = {
|
||||
"williamboman/mason.nvim",
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
@@ -237,18 +237,6 @@ return {
|
||||
"mg979/vim-visual-multi",
|
||||
branch = "master",
|
||||
},
|
||||
{
|
||||
"jackMort/ChatGPT.nvim",
|
||||
dependencies = {
|
||||
"MunifTanjim/nui.nvim",
|
||||
"nvim-lua/plenary.nvim",
|
||||
"folke/trouble.nvim",
|
||||
"nvim-telescope/telescope.nvim"
|
||||
},
|
||||
config = function()
|
||||
require("config.chatgpt")
|
||||
end,
|
||||
},
|
||||
{
|
||||
"elkowar/yuck.vim",
|
||||
},
|
||||
@@ -263,7 +251,6 @@ return {
|
||||
"lancewilhelm/horizon-extended.nvim",
|
||||
},
|
||||
{
|
||||
"neoclide/coc.nvim",
|
||||
branch = "release",
|
||||
"vimpostor/vim-tpipeline",
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user