Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/lua/modules/configs/completion\cmp.lua:95: attempt to concatenate a nil value #634

Closed
2 tasks done
Qejun opened this issue Apr 9, 2023 · 5 comments
Closed
2 tasks done
Labels
bug Something isn't working

Comments

@Qejun
Copy link

Qejun commented Apr 9, 2023

Version confirmation

  • Confirm

Following prerequisites

  • Confirm

Neovim version

NVIM v0.8.3 Build type: RelWithDebInfo LuaJIT 2.1.0-beta3 Compiled by runneradmin@fv-az171-224 Features: -acl +iconv +tui See ":help feature-compile" system vimrc file: "$VIM\sysinit.vim" fall-back for $VIM: "C:/Program Files (x86)/nvim/share/nvim"

Operating system/version

win10 22h2

Terminal name/version

PowerShell 7.3.3

$TERM environment variable

No response

Branch info

main (Default/Latest)

Fetch Preferences

SSH (use_ssh = true)

How to reproduce the issue

I get this error every time I try to type a letter
Error executing vim.schedule lua callback: ...ppData\Local\nvim/lua/modules/configs/completion\cmp.lua:95: attempt to concatenate a nil value
stack traceback: ...ppData\Local\nvim/lua/modules/configs/completion\cmp.lua:95: in function 'format' ...ata/Local/nvim-data/site/lazy/nvim-cmp/lua/cmp/entry.lua:290: in function 'callback'
...cal/nvim-data/site/lazy/nvim-cmp/lua/cmp/utils/cache.lua:38: in function 'get_vim_item' ...ata/Local/nvim-data/site/lazy/nvim-cmp/lua/cmp/entry.lua:397: in function 'callback'
...cal/nvim-data/site/lazy/nvim-cmp/lua/cmp/utils/cache.lua:38: in function 'match' ...ta/Local/nvim-data/site/lazy/nvim-cmp/lua/cmp/source.lua:114: in function 'get_entries' ...ta/Local/nvim-data/site/lazy/nvim-cmp/lua/cmp/source.lua:352: in function 'cb' vim/_editor.lua:248: in function <vim/_editor.lua:247>

screen

Expected behavior

what should i do to solve this problem?

Actual behavior

screen

Additional information

This is what "checkhealth" outputs:

gitsigns: require("gitsigns.health").check()

  • OK: git version 2.24.0.windows.2

lazy: require("lazy.health").check()

lazy.nvim

  • OK: Git installed
  • OK: no existing packages found by other package managers
  • OK: packer_compiled.lua not found

man: require("man.health").check()

  • OK: plugin/man.vim not in $VIMRUNTIME
  • OK: autoload/man.vim not in $VIMRUNTIME

mason: require("mason.health").check()

mason.nvim report

  • OK: neovim version >= 0.7.0
  • OK: Registry require("mason-registry.index") is installed.
  • OK: Registry github.com/mason-org/mason-registry version: 2023-04-08-roman-pond is installed.
  • OK: unzip: UnZip 5.51 of 22 May 2004, by Info-ZIP. Maintained by C. Spieler. Send
  • OK: Go: go version go1.20.3 windows/amd64
  • OK: cargo: cargo 1.68.2 (6feb7c9cf 2023-03-26)
  • WARNING: luarocks: unsupported version luarocks 2.0.2 . Luarocks version must be >= 3.0.0.
  • OK: Ruby: ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [x64-mingw-ucrt]
  • OK: RubyGem: 3.3.26
  • WARNING: Composer: not available
  • WARNING: PHP: not available
  • OK: npm: 9.5.0
  • OK: node: v18.15.0
  • OK: python3: Python 3.8.6
  • OK: pip3: `pip 23.0.1 from D:\program_file\Python38\lib\site-packages\pip (python 3.8)

`

  • WARNING: javac: not available
  • OK: java: java version "9.0.1"
  • WARNING: julia: not available
  • OK: wget: GNU Wget 1.21.3 built on mingw32.
  • OK: curl: curl 7.83.1 (Windows) libcurl/7.83.1 Schannel
  • WARNING: gzip: not available
  • OK: tar: bsdtar 3.5.2 - libarchive 3.5.2 zlib/1.2.5.f-ipp
  • OK: pwsh: 7.3.3 Microsoft Windows 10.0.19045 Win32NT
  • OK: python: Python 3.8.6
  • OK: pip: `pip 23.0.1 from D:\program_file\Python38\lib\site-packages\pip (python 3.8)

`

  • OK: 7z: 7-Zip 9.10 beta Copyright (c) 1999-2009 Igor Pavlov 2009-12-22
  • WARNING: python3_host_prog: not available
  • WARNING: python3_host_prog pip: not available
  • OK: GitHub API rate limit. Used: 1. Remaining: 59. Limit: 60. Reset: 2023/4/9 8:19:36.

null-ls: require("null-ls.health").check()

  • OK: black: the command "black" is executable.
  • OK: clang_format: the command "clang-format" is executable.
  • OK: prettier: the command "prettier" is executable.
  • OK: vint: the command "vint" is executable.
  • OK: rustfmt: the command "rustfmt" is executable.
  • OK: shfmt: the command "shfmt" is executable.
  • OK: stylua: the command "stylua" is executable.
  • OK: editorconfig_checker: the command "editorconfig-checker" is executable.

nvim: health#nvim#check

Configuration

  • OK: no issues found

Performance

  • OK: Build type: RelWithDebInfo

Remote Plugins

  • WARNING: "wilder.nvim" is not registered. (python3 not available)
  • OK: Up to date

nvim-treesitter: require("nvim-treesitter.health").check()

Installation

  • OK: tree-sitter found 0.20.7 (b268e412ad4848380166af153300464e5a1cf83f) (parser generator, only needed for :TSInstallFromGrammar)
  • OK: node found v18.15.0 (only needed for :TSInstallFromGrammar)
  • OK: git executable found.
  • OK: cc executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }
    Version: cc (Rev4, Built by MSYS2 project) 12.2.0
  • OK: Neovim was compiled with tree-sitter runtime ABI version 14 (required >=13). Parsers must be compatible with runtime ABI.

OS Info:

{
machine = "x86_64",
release = "10.0.19045",
sysname = "Windows_NT",
version = "Windows 10 Pro"
}

Parser/Features H L F I J

  • bash ✓ ✓ ✓ . ✓
  • c ✓ ✓ ✓ ✓ ✓
  • cpp ✓ ✓ ✓ ✓ ✓
  • css ✓ . ✓ ✓ ✓
  • go ✓ ✓ ✓ ✓ ✓
  • gomod ✓ . . . ✓
  • html ✓ ✓ ✓ ✓ ✓
  • javascript ✓ ✓ ✓ ✓ ✓
  • json ✓ ✓ ✓ ✓ .
  • latex ✓ . ✓ . ✓
  • lua ✓ ✓ ✓ ✓ ✓
  • make ✓ . ✓ . ✓
  • markdown ✓ . ✓ . ✓
  • markdown_inline ✓ . . . ✓
  • python ✓ ✓ ✓ ✓ ✓
  • rust ✓ ✓ ✓ ✓ ✓
  • typescript ✓ ✓ ✓ ✓ ✓
  • vimdoc ✓ . . . ✓
  • vue ✓ . ✓ ✓ ✓
  • yaml ✓ ✓ ✓ ✓ ✓

Legend: H[ighlight], L[ocals], F[olds], I[ndents], In[j]ections
+) multiple parsers found, only one will be used
x) errors found in the query, try to run :TSUpdate {lang}

provider: health#provider#check

Clipboard (optional)

  • OK: Clipboard tool found: win32yank

Python 3 provider (optional)

  • INFO: Using: g:python3_host_prog = "/usr/bin/python3"
  • WARNING: No Python executable found that can import neovim. Using the first available executable for diagnostics.
  • INFO: Executable: Not found

Python virtualenv

  • OK: no $VIRTUAL_ENV

Ruby provider (optional)

  • INFO: Ruby: ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [x64-mingw-ucrt]
  • WARNING: neovim-ruby-host not found.
    • ADVICE:
      • Run gem install neovim to ensure the neovim RubyGem is installed.
      • Run gem environment to ensure the gem bin directory is in $PATH.
      • If you are using rvm/rbenv/chruby, try "rehashing".
      • See :help |g:ruby_host_prog| for non-standard gem installations.
      • You may disable this provider (and warning) by adding let g:loaded_ruby_provider = 0 to your init.vim

Node.js provider (optional)

  • INFO: Node.js: v18.15.0
  • INFO: Nvim node.js host: C:\Users\zhang\AppData\Roaming\npm\node_modules/neovim/bin/cli.js
  • OK: Latest "neovim" npm/yarn/pnpm package is installed: 4.10.1

Perl provider (optional)

  • WARNING: No usable perl executable found

vim.lsp: require("vim.lsp.health").check()

  • INFO: LSP log level : WARN
  • INFO: Log path: C:\Users\zhang\AppData\Local\nvim-data\lsp.log
  • INFO: Log size: 256 KB

vim.treesitter: require("vim.treesitter.health").check()

  • INFO: Runtime ABI version : 14
  • OK: Loaded parser for bash: ABI version 14
  • OK: Loaded parser for c: ABI version 13
  • OK: Loaded parser for cpp: ABI version 14
  • OK: Loaded parser for css: ABI version 13
  • OK: Loaded parser for go: ABI version 14
  • OK: Loaded parser for gomod: ABI version 13
  • OK: Loaded parser for html: ABI version 13
  • OK: Loaded parser for javascript: ABI version 14
  • OK: Loaded parser for json: ABI version 13
  • OK: Loaded parser for latex: ABI version 14
  • OK: Loaded parser for lua: ABI version 13
  • OK: Loaded parser for make: ABI version 13
  • OK: Loaded parser for markdown: ABI version 13
  • OK: Loaded parser for markdown_inline: ABI version 13
  • OK: Loaded parser for python: ABI version 14
  • OK: Loaded parser for rust: ABI version 14
  • OK: Loaded parser for typescript: ABI version 14
  • OK: Loaded parser for vimdoc: ABI version 14
  • OK: Loaded parser for vue: ABI version 13
  • OK: Loaded parser for yaml: ABI version 13
  • OK: Loaded parser for c: ABI version 13
  • OK: Loaded parser for help: ABI version 14
  • OK: Loaded parser for lua: ABI version 13
  • OK: Loaded parser for vim: ABI version 14

which_key: health#which_key#check

WhichKey: checking conflicting keymaps

  • WARNING: conflicting keymap exists for mode "n", lhs: " c"
  • INFO: rhs: <Cmd>HopChar1<CR>
  • WARNING: conflicting keymap exists for mode "n", lhs: "gc"
  • INFO: rhs: <Plug>(comment_toggle_linewise)
  • WARNING: conflicting keymap exists for mode "n", lhs: "gb"
  • INFO: rhs: <Plug>(comment_toggle_blockwise)
  • WARNING: conflicting keymap exists for mode "v", lhs: " c"
  • INFO: rhs: <Cmd>HopChar1<CR>
  • WARNING: buffer-local keymap overriding global for mode "n", buf: 0, lhs: ""
  • INFO: old rhs: ``
  • INFO: new rhs: <cmd>lua require("which-key").show(" ", {mode = "n", auto = true})<cr>
  • WARNING: buffer-local keymap overriding global for mode "x", buf: 0, lhs: ""
  • INFO: old rhs: ``
  • INFO: new rhs: <cmd>lua require("which-key").show(" ", {mode = "v", auto = true})<cr>
@Qejun Qejun added the bug Something isn't working label Apr 9, 2023
@vollowx
Copy link

vollowx commented Apr 9, 2023

Maybe the same as #624 ?

boomker pushed a commit to boomker/uvcode-nvim that referenced this issue Apr 9, 2023
This resolves ayamir#634 as a temporal workaround

(cherry picked from commit d506a19)
@Qejun
Copy link
Author

Qejun commented Apr 9, 2023

Maybe the same as #624 ?

I think you have a point,After I commented out the relevant code, the problem disappeared along with the Nerd fonts icon.
2023-04-09 142647
file in :nvim\lua\modules\configs\completion\cmp.lua

YanTree pushed a commit to YanTree/nvim that referenced this issue Apr 9, 2023
@Jint-lzxy
Copy link
Collaborator

@Qejun d506a19 implemented a temporary workaround, you only need to pull the latest changes.

This is part of the v0.9 migration.

@Qejun
Copy link
Author

Qejun commented Apr 10, 2023

I pulled the new config file, but didn't upgrade nvim from 0.8 to 0.9, so my problem was not solved.
I took the suggestion in https://github.com/ayamir/nvimdots/issues/624
and the solution in version 0.8 is as follows:
file in \nvim\lua\modules\configs\completion\cmp.lua

return function()
	local icons = {
		kind = require("modules.utils.icons").get("kind"),
		type = require("modules.utils.icons").get("type"),
		cmp = require("modules.utils.icons").get("cmp"),
	}
	local t = function(str)
		return vim.api.nvim_replace_termcodes(str, true, true, true)
	end

	local border = function(hl)
		return {
			{ "╭", hl },
			{ "─", hl },
			{ "╮", hl },
			{ "│", hl },
			{ "╯", hl },
			{ "─", hl },
			{ "╰", hl },
			{ "│", hl },
		}
	end

	---Handling situations where LuaSnip failed to perform any jumps
	---@param r integer @Cursor position (row) before calling LuaSnip
	---@param c integer @Cursor position (col) before calling LuaSnip
	---@param fallback function @Fallback function inherited from cmp
	local luasnip_fallback = vim.schedule_wrap(function(r, c, fallback)
		local _r, _c = unpack(vim.api.nvim_win_get_cursor(0))
		if _r == r and _c == c then
			fallback()
		end
	end)

	local cmp_window = require("cmp.utils.window")

	cmp_window.info_ = cmp_window.info
	cmp_window.info = function(self)
		local info = self:info_()
		info.scrollable = false
		return info
	end

	local compare = require("cmp.config.compare")
	compare.lsp_scores = function(entry1, entry2)
		local diff
		if entry1.completion_item.score and entry2.completion_item.score then
			diff = (entry2.completion_item.score * entry2.score) - (entry1.completion_item.score * entry1.score)
		else
			diff = entry2.score - entry1.score
		end
		return (diff < 0)
	end

	local lspkind = require("lspkind")
	local cmp = require("cmp")
	local kind_icons = {
		Class = "ﴯ",
		-- Class = "",
		-- Class = "",
		Color = "",
		-- Color = "",
		Constant = "",
		-- Constant = "",
		Constructor = "",
		-- Constructor = "",
		-- Constructor = "",
		Enum = "",
		EnumMember = "",
		Event = "",
		Field = "ﰠ",
		-- Field = "",
		-- Field = "",
		-- Field = "",
		File = "",
		-- File = "",
		-- File = "",
		Folder = "",
		-- Folder = "",
		Function = "",
		Interface = "",
		Keyword = "",
		Method = "",
		Module = "",
		Operator = "",
		Property = "",
		-- Property = "ﰠ",
		Reference = "",
		-- Reference = "",
		-- Reference = "",
		Snippet = "",
		-- Snippet = "",
		Struct = "פּ",
		-- Struct = "",
		Text = "",
		-- Text = "",
		TypeParameter = "",
		-- TypeParameter = "",
		Unit = "",
		Value = "",
		Variable = "",
		-- Variable = "",
		-- Variable = "",
		-- tree-sitter
		String = "",
	}

	cmp.setup({
		window = {
			completion = {
				border = border("Normal"),
				max_width = 80,
				max_height = 20,
			},
			documentation = {
				border = border("CmpDocBorder"),
			},
		},
		sorting = {
			priority_weight = 2,
			comparators = {
				require("copilot_cmp.comparators").prioritize,
				require("copilot_cmp.comparators").score,
				-- require("cmp_tabnine.compare"),
				compare.offset,
				compare.exact,
				compare.lsp_scores,
				require("cmp-under-comparator").under,
				compare.kind,
				compare.sort_text,
				compare.length,
				compare.order,
			},
		},
		--formatting = {
		--	fields = { "kind", "abbr", "menu" },
		--	format = function(entry, vim_item)
		--		local kind = lspkind.cmp_format({
		--			mode = "symbol_text",
		--			maxwidth = 50,
		--			symbol_map = vim.tbl_deep_extend("force", icons.kind, icons.type, icons.cmp),
		--		})(entry, vim_item)
		--		local strings = vim.split(kind.kind, "%s", { trimempty = true })
		--		kind.kind = " " .. strings[1] .. " "
		--		kind.menu = "    (" .. strings[2] .. ")"
		--		return kind
		--	end,
		--},
		formatting = {
			format = function(entry, vim_item)
				local icon = kind_icons[vim_item.kind] or "default icon or text"
				vim_item.kind = icon .. " " .. vim_item.kind
				return vim_item
			end,
		},
		-- You can set mappings if you want
		mapping = cmp.mapping.preset.insert({
			["<CR>"] = cmp.mapping.confirm({ select = true, behavior = cmp.ConfirmBehavior.Replace }),
			["<C-p>"] = cmp.mapping.select_prev_item(),
			["<C-n>"] = cmp.mapping.select_next_item(),
			["<C-d>"] = cmp.mapping.scroll_docs(-4),
			["<C-f>"] = cmp.mapping.scroll_docs(4),
			["<C-w>"] = cmp.mapping.close(),
			["<Tab>"] = cmp.mapping(function(fallback)
				if cmp.visible() then
					cmp.select_next_item()
				elseif require("luasnip").expand_or_locally_jumpable() then
					local _r, _c = unpack(vim.api.nvim_win_get_cursor(0))
					vim.fn.feedkeys(t("<Plug>luasnip-expand-or-jump"))
					luasnip_fallback(_r, _c, fallback)
				else
					fallback()
				end
			end, { "i", "s" }),
			["<S-Tab>"] = cmp.mapping(function(fallback)
				if cmp.visible() then
					cmp.select_prev_item()
				elseif require("luasnip").jumpable(-1) then
					vim.fn.feedkeys(t("<Plug>luasnip-jump-prev"), "")
				else
					fallback()
				end
			end, { "i", "s" }),
		}),
		snippet = {
			expand = function(args)
				require("luasnip").lsp_expand(args.body)
			end,
		},
		-- You should specify your *installed* sources.
		sources = {
			{ name = "nvim_lsp" },
			{ name = "nvim_lua" },
			{ name = "luasnip" },
			{ name = "path" },
			{ name = "treesitter" },
			{ name = "spell" },
			{ name = "tmux" },
			{ name = "orgmode" },
			{ name = "buffer" },
			{ name = "latex_symbols" },
			{ name = "copilot" },
			-- { name = "codeium" },
			-- { name = "cmp_tabnine" },
		},
	})
end

@CharlesChiuGit
Copy link
Collaborator

CharlesChiuGit commented Apr 10, 2023

#637 is coming. Hang tight!

Jint-lzxy added a commit that referenced this issue Apr 30, 2023
* chore(README): bump supported version

* feat(options): support new options shipped with v0.9

* feat(scripts): support v0.9

* feat!: add initial support for lsp semantic tokens (#633)

* feat(utils): use neovim builtin to get highlights (#632)

* fix: remove deprecated options for nvim-tree.

* fix(cmp): support dynamic `kind_text` from cmp source: `treesitter`, fix #624 #634 (#637)

* fix&feat: introduce suda.vim to write file with sudo

* chore(kind_text): cleanup (#648)

* feat(alpha): add custom highlight groups (#650)

* fix: install `psutils` by default for Windows users

* revert: bind `SudaWrite` to `<A-s>`

ref: #641 (comment)

* fix(cmp): nil `vim_item`

* perf(core-mapping): add some useful mapping

* fix(nvim-tree): `hide_root_folder` is deprecated

* perf: load fidget.nvim after `LspAttach`

* minor fix

1. remove `<nop>` at "n|Q"
2. use visual mode instead of visual-line mode for "n|<C-a>"

* perf: align style

* perf(0.9): `stabilize.nvim` had been upstream to `0.9`

* chore(project.nvim): update legacy code

* chore(README): update branch info

* chore(mapping): cleanup (#657)

* fix(icon): update invalid cmp icon (#665)

* chore/lspsaga_move (#667)

* fix: paint word boundary in python (#669)

* fix(bufferline): `show_buffer_default_icon` is now deprecate

* feat(formatting): notify users for files under disabled dirs

* chore(formatting): rephrase messages

* fix(font-encoding): fix invalid characters on windows, fix #639 (#659)

Co-authored-by: 冷酔閑吟 <[email protected]>

* pref: unify code style for PowerShell commands

* perf: better guidance to `Discussions` and `Wiki` (#680)

* pref(ISSUE_TEMPLATE): fix typos and format with prettier

* fixup! pref(ISSUE_TEMPLATE): fix typos and format with prettier

* feat(scripts): abort for nvim v0.7 and its antecedent

* feat(settings): allow customization of `transparent_background` (#687)

* fix(bufferline): use defaults for `get_element_icon` (#685)

* feat(auto-session): remember opened buffers (#688)

* revert(keymap): remove redundant mappings.

* fix(catppuccin): properly detect `g:colors_name` (#695)

Ref: upstream breaking change [catppuccin/nvim@7a7a664]

---------

Co-authored-by: ayamir <[email protected]>
Co-authored-by: Charles Chiu <[email protected]>
Co-authored-by: CharlesChiuGit <[email protected]>
Co-authored-by: Xie Zejian <[email protected]>
Co-authored-by: AngelontheRoad <[email protected]>
Co-authored-by: Saafo <[email protected]>
singlemancombat pushed a commit to singlemancombat/nvim-config that referenced this issue May 1, 2023
* chore(README): bump supported version

* feat(options): support new options shipped with v0.9

* feat(scripts): support v0.9

* feat!: add initial support for lsp semantic tokens (ayamir#633)

* feat(utils): use neovim builtin to get highlights (ayamir#632)

* fix: remove deprecated options for nvim-tree.

* fix(cmp): support dynamic `kind_text` from cmp source: `treesitter`, fix ayamir#624 ayamir#634 (ayamir#637)

* fix&feat: introduce suda.vim to write file with sudo

* chore(kind_text): cleanup (ayamir#648)

* feat(alpha): add custom highlight groups (ayamir#650)

* fix: install `psutils` by default for Windows users

* revert: bind `SudaWrite` to `<A-s>`

ref: ayamir#641 (comment)

* fix(cmp): nil `vim_item`

* perf(core-mapping): add some useful mapping

* fix(nvim-tree): `hide_root_folder` is deprecated

* perf: load fidget.nvim after `LspAttach`

* minor fix

1. remove `<nop>` at "n|Q"
2. use visual mode instead of visual-line mode for "n|<C-a>"

* perf: align style

* perf(0.9): `stabilize.nvim` had been upstream to `0.9`

* chore(project.nvim): update legacy code

* chore(README): update branch info

* chore(mapping): cleanup (ayamir#657)

* fix(icon): update invalid cmp icon (ayamir#665)

* chore/lspsaga_move (ayamir#667)

* fix: paint word boundary in python (ayamir#669)

* fix(bufferline): `show_buffer_default_icon` is now deprecate

* feat(formatting): notify users for files under disabled dirs

* chore(formatting): rephrase messages

* fix(font-encoding): fix invalid characters on windows, fix ayamir#639 (ayamir#659)

Co-authored-by: 冷酔閑吟 <[email protected]>

* pref: unify code style for PowerShell commands

* perf: better guidance to `Discussions` and `Wiki` (ayamir#680)

* pref(ISSUE_TEMPLATE): fix typos and format with prettier

* fixup! pref(ISSUE_TEMPLATE): fix typos and format with prettier

* feat(scripts): abort for nvim v0.7 and its antecedent

* feat(settings): allow customization of `transparent_background` (ayamir#687)

* fix(bufferline): use defaults for `get_element_icon` (ayamir#685)

* feat(auto-session): remember opened buffers (ayamir#688)

* revert(keymap): remove redundant mappings.

* fix(catppuccin): properly detect `g:colors_name` (ayamir#695)

Ref: upstream breaking change [catppuccin/nvim@7a7a664]

---------

Co-authored-by: ayamir <[email protected]>
Co-authored-by: Charles Chiu <[email protected]>
Co-authored-by: CharlesChiuGit <[email protected]>
Co-authored-by: Xie Zejian <[email protected]>
Co-authored-by: AngelontheRoad <[email protected]>
Co-authored-by: Saafo <[email protected]>
boomker pushed a commit to boomker/uvcode-nvim that referenced this issue May 2, 2023
* chore(README): bump supported version

* feat(options): support new options shipped with v0.9

* feat(scripts): support v0.9

* feat!: add initial support for lsp semantic tokens (ayamir#633)

* feat(utils): use neovim builtin to get highlights (ayamir#632)

* fix: remove deprecated options for nvim-tree.

* fix(cmp): support dynamic `kind_text` from cmp source: `treesitter`, fix ayamir#624 ayamir#634 (ayamir#637)

* fix&feat: introduce suda.vim to write file with sudo

* chore(kind_text): cleanup (ayamir#648)

* feat(alpha): add custom highlight groups (ayamir#650)

* fix: install `psutils` by default for Windows users

* revert: bind `SudaWrite` to `<A-s>`

ref: ayamir#641 (comment)

* fix(cmp): nil `vim_item`

* perf(core-mapping): add some useful mapping

* fix(nvim-tree): `hide_root_folder` is deprecated

* perf: load fidget.nvim after `LspAttach`

* minor fix

1. remove `<nop>` at "n|Q"
2. use visual mode instead of visual-line mode for "n|<C-a>"

* perf: align style

* perf(0.9): `stabilize.nvim` had been upstream to `0.9`

* chore(project.nvim): update legacy code

* chore(README): update branch info

* chore(mapping): cleanup (ayamir#657)

* fix(icon): update invalid cmp icon (ayamir#665)

* chore/lspsaga_move (ayamir#667)

* fix: paint word boundary in python (ayamir#669)

* fix(bufferline): `show_buffer_default_icon` is now deprecate

* feat(formatting): notify users for files under disabled dirs

* chore(formatting): rephrase messages

* fix(font-encoding): fix invalid characters on windows, fix ayamir#639 (ayamir#659)

Co-authored-by: 冷酔閑吟 <[email protected]>

* pref: unify code style for PowerShell commands

* perf: better guidance to `Discussions` and `Wiki` (ayamir#680)

* pref(ISSUE_TEMPLATE): fix typos and format with prettier

* fixup! pref(ISSUE_TEMPLATE): fix typos and format with prettier

* feat(scripts): abort for nvim v0.7 and its antecedent

* feat(settings): allow customization of `transparent_background` (ayamir#687)

* fix(bufferline): use defaults for `get_element_icon` (ayamir#685)

* feat(auto-session): remember opened buffers (ayamir#688)

* revert(keymap): remove redundant mappings.

* fix(catppuccin): properly detect `g:colors_name` (ayamir#695)

Ref: upstream breaking change [catppuccin/nvim@7a7a664]

---------

Co-authored-by: ayamir <[email protected]>
Co-authored-by: Charles Chiu <[email protected]>
Co-authored-by: CharlesChiuGit <[email protected]>
Co-authored-by: Xie Zejian <[email protected]>
Co-authored-by: AngelontheRoad <[email protected]>
Co-authored-by: Saafo <[email protected]>
(cherry picked from commit 08c4561)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants