updateHyprland

This commit is contained in:
albert 2024-04-03 22:12:09 +09:00
parent 4b0fa2ba87
commit 5ca1f8f15a
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
4 changed files with 13 additions and 12 deletions

View file

@ -36,6 +36,7 @@
input = {
kb_layout = "us";
follow_mouse = "1";
mouse_refocus = false;
touchpad = {
natural_scroll = true;
disable_while_typing = true;

View file

@ -11,8 +11,6 @@
}
)
vim.diagnostic.config { float = { border = _border } }
require('lspconfig.ui.windows').default_options = { border = _border }
local signs = { Error = "󰅚 ", Warn = "󰀪 ", Hint = "󰌶 ", Info = " " }
for type, icon in pairs(signs) do
@ -29,11 +27,12 @@
vim.diagnostic.config ( { virtual_text = { prefix = '', } } )
vim.diagnostic.config { float = { border = _border } }
vim.diagnostic.config({ virtual_text = false })
'';
plugins = {
lsp-lines.enable = true;
lsp-lines.currentLine = false;
lsp-lines.currentLine = true;
crates-nvim.enable = true;
lspsaga = {
enable = false;
@ -82,6 +81,7 @@
}
)
'';
keymaps = {
silent = true;
diagnostic = {

View file

@ -51,8 +51,8 @@
popupmenu.enabled = false;
lsp.hover.enabled = false;
presets = {
bottom_search = false;
command_palette = false;
bottom_search = true;
command_palette = true;
long_message_to_split = false;
inc_rename = false;
lsp_doc_border = true;

View file

@ -18,7 +18,7 @@
"<C-d>" = "cmp.mapping.scroll_docs(-4)";
"<C-e>" = "cmp.mapping.close()";
"<C-f>" = "cmp.mapping.scroll_docs(4)";
"<CR>" = "cmp.mapping.confirm({ select = true })";
"<CR>" = "cmp.mapping.confirm({ select = true })";
"<S-Tab>" = {
action = "cmp.mapping.select_prev_item()";
modes = [
@ -35,9 +35,9 @@
};
};
sources = [
# { name = "nvim_lua"; }
{ name = "nvim_lua"; }
{ name = "nvim_lsp"; }
# { name = "nvim_lsp_signature_help"; }
{ name = "nvim_lsp_signature_help"; }
{ name = "calc"; }
{ name = "path"; }
{ name = "buffer"; }
@ -54,10 +54,10 @@
format = ''
function(entry, item)
local menu_icon = {
nvim_lsp = 'λ',
luasnip = '',
buffer = 'Ω',
path = '🖫',
nvim_lsp = 'λ',
luasnip = '',
buffer = 'Ω',
path = '🖫',
}
item.menu = menu_icon[entry.source.name]
return item