changed cmp icons
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
import = ["/home/nikita/.config/alacritty/themes/kanagawa_wave.toml"]
|
import = ["~/.config/alacritty/themes/kanagawa_wave.toml"]
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
TERM = "xterm-256color"
|
TERM = "xterm-256color"
|
||||||
@ -7,7 +7,7 @@ TERM = "xterm-256color"
|
|||||||
size = 12.0
|
size = 12.0
|
||||||
|
|
||||||
[font.normal]
|
[font.normal]
|
||||||
family = "Input Mono"
|
family = "Input Nerd Font"
|
||||||
style = "Regular"
|
style = "Regular"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,6 @@ require("user.plugins")
|
|||||||
require("user.themes.kanagawa")
|
require("user.themes.kanagawa")
|
||||||
|
|
||||||
require("user.bufferline")
|
require("user.bufferline")
|
||||||
|
|
||||||
require("user.options")
|
require("user.options")
|
||||||
require("user.keymaps")
|
require("user.keymaps")
|
||||||
|
|
||||||
|
|||||||
@ -15,32 +15,32 @@ local check_backspace = function()
|
|||||||
return col == 0 or vim.fn.getline("."):sub(col, col):match "%s"
|
return col == 0 or vim.fn.getline("."):sub(col, col):match "%s"
|
||||||
end
|
end
|
||||||
|
|
||||||
local kind_icons = {
|
local cmp_kinds = {
|
||||||
Text = "",
|
Text = ' ',
|
||||||
Method = "m",
|
Method = ' ',
|
||||||
Function = "",
|
Function = ' ',
|
||||||
Constructor = "",
|
Constructor = ' ',
|
||||||
Field = "",
|
Field = ' ',
|
||||||
Variable = "",
|
Variable = ' ',
|
||||||
Class = "",
|
Class = ' ',
|
||||||
Interface = "",
|
Interface = ' ',
|
||||||
Module = "",
|
Module = ' ',
|
||||||
Property = "",
|
Property = ' ',
|
||||||
Unit = "",
|
Unit = ' ',
|
||||||
Value = "",
|
Value = ' ',
|
||||||
Enum = "",
|
Enum = ' ',
|
||||||
Keyword = "",
|
Keyword = ' ',
|
||||||
Snippet = "",
|
Snippet = ' ',
|
||||||
Color = "",
|
Color = ' ',
|
||||||
File = "",
|
File = ' ',
|
||||||
Reference = "",
|
Reference = ' ',
|
||||||
Folder = "",
|
Folder = ' ',
|
||||||
EnumMember = "",
|
EnumMember = ' ',
|
||||||
Constant = "",
|
Constant = ' ',
|
||||||
Struct = "",
|
Struct = ' ',
|
||||||
Event = "",
|
Event = ' ',
|
||||||
Operator = "",
|
Operator = ' ',
|
||||||
TypeParameter = "",
|
TypeParameter = ' ',
|
||||||
}
|
}
|
||||||
|
|
||||||
cmp.setup {
|
cmp.setup {
|
||||||
@ -96,7 +96,7 @@ cmp.setup {
|
|||||||
fields = { "kind", "abbr", "menu" },
|
fields = { "kind", "abbr", "menu" },
|
||||||
format = function(entry, vim_item)
|
format = function(entry, vim_item)
|
||||||
-- Kind icons
|
-- Kind icons
|
||||||
vim_item.kind = string.format("%s", kind_icons[vim_item.kind])
|
vim_item.kind = string.format("%s", cmp_kinds[vim_item.kind])
|
||||||
vim_item.menu = ({
|
vim_item.menu = ({
|
||||||
nvim_lsp = "[LSP]",
|
nvim_lsp = "[LSP]",
|
||||||
luasnip = "[Snippet]",
|
luasnip = "[Snippet]",
|
||||||
|
|||||||
2
.zshrc
2
.zshrc
@ -104,6 +104,6 @@ alias config="/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME"
|
|||||||
|
|
||||||
export PATH=/home/nikita/.local/bin:$PATH
|
export PATH=/home/nikita/.local/bin:$PATH
|
||||||
export WLR_NO_HARDWARE_CURSORS=1
|
export WLR_NO_HARDWARE_CURSORS=1
|
||||||
export EDITOR=/usr/bin/nvim
|
export EDITOR=nvim
|
||||||
export SUDO_EDITOR=/usr/bin/nvim
|
export SUDO_EDITOR=/usr/bin/nvim
|
||||||
export UPDATE_ZSH_DAYS=7
|
export UPDATE_ZSH_DAYS=7
|
||||||
|
|||||||
Reference in New Issue
Block a user