fixed deprecation in nvim
This commit is contained in:
@@ -4,26 +4,26 @@
|
|||||||
|
|
||||||
[font]
|
[font]
|
||||||
## Font size in points.
|
## Font size in points.
|
||||||
size = 10
|
size = 12
|
||||||
|
|
||||||
## When true, Alacritty will use a custom built-in font for box drawing characters and powerline symbols.
|
## When true, Alacritty will use a custom built-in font for box drawing characters and powerline symbols.
|
||||||
builtin_box_drawing = true
|
builtin_box_drawing = true
|
||||||
|
|
||||||
## Normal font family.
|
## Normal font family.
|
||||||
[font.normal]
|
[font.normal]
|
||||||
family = "0xProto Nerd Font"
|
family = "FiraMono Nerd Font"
|
||||||
|
|
||||||
## If the family is not specified, it will fall back to the value specified for the normal font.
|
## If the family is not specified, it will fall back to the value specified for the normal font.
|
||||||
[font.bold]
|
[font.bold]
|
||||||
family = "0xProto Nerd Font"
|
family = "FiraMono Nerd Font"
|
||||||
|
|
||||||
## If the family is not specified, it will fall back to the value specified for the normal font.
|
## If the family is not specified, it will fall back to the value specified for the normal font.
|
||||||
[font.italic]
|
[font.italic]
|
||||||
family = "0xProto Nerd Font"
|
family = "FiraMono Nerd Font"
|
||||||
|
|
||||||
## If the family is not specified, it will fall back to the value specified for the normal font.
|
## If the family is not specified, it will fall back to the value specified for the normal font.
|
||||||
[font.bold_italic]
|
[font.bold_italic]
|
||||||
family = "0xProto Nerd Font"
|
family = "FiraMono Nerd Font"
|
||||||
|
|
||||||
## Offset is the extra space around each character.
|
## Offset is the extra space around each character.
|
||||||
## 'y' can be thought of as modifying the line spacing, and 'x' as modifying the letter spacing.
|
## 'y' can be thought of as modifying the line spacing, and 'x' as modifying the letter spacing.
|
||||||
|
@@ -99,7 +99,43 @@ require('mini.files').setup({
|
|||||||
require('mini.icons').setup({style = 'ascii'})
|
require('mini.icons').setup({style = 'ascii'})
|
||||||
require('mini.pick').setup({})
|
require('mini.pick').setup({})
|
||||||
require('mini.snippets').setup({})
|
require('mini.snippets').setup({})
|
||||||
require('mini.notify').setup({})
|
require('mini.notify').setup({
|
||||||
|
-- Content management
|
||||||
|
content = {
|
||||||
|
-- Function which formats the notification message
|
||||||
|
-- By default prepends message with notification time
|
||||||
|
format = nil,
|
||||||
|
|
||||||
|
-- Function which orders notification array from most to least important
|
||||||
|
-- By default orders first by level and then by update timestamp
|
||||||
|
sort = nil,
|
||||||
|
},
|
||||||
|
|
||||||
|
-- Notifications about LSP progress
|
||||||
|
lsp_progress = {
|
||||||
|
-- Whether to enable showing
|
||||||
|
enable = true,
|
||||||
|
|
||||||
|
-- Notification level
|
||||||
|
level = 'INFO',
|
||||||
|
|
||||||
|
-- Duration (in ms) of how long last message should be shown
|
||||||
|
duration_last = 1000,
|
||||||
|
},
|
||||||
|
|
||||||
|
-- Window options
|
||||||
|
window = {
|
||||||
|
-- Floating window config
|
||||||
|
config = {
|
||||||
|
},
|
||||||
|
|
||||||
|
-- Maximum window width as share (between 0 and 1) of available columns
|
||||||
|
max_width_share = 0.382,
|
||||||
|
|
||||||
|
-- Value of 'winblend' option
|
||||||
|
winblend = 0,
|
||||||
|
},
|
||||||
|
})
|
||||||
require('mini.statusline').setup({})
|
require('mini.statusline').setup({})
|
||||||
require('mini.tabline').setup({})
|
require('mini.tabline').setup({})
|
||||||
require('mini.git').setup({})
|
require('mini.git').setup({})
|
||||||
@@ -190,17 +226,20 @@ table.insert(
|
|||||||
.. vim.fs.joinpath(rzls_path, "Targets", "Microsoft.NET.Sdk.Razor.DesignTime.targets")
|
.. vim.fs.joinpath(rzls_path, "Targets", "Microsoft.NET.Sdk.Razor.DesignTime.targets")
|
||||||
)
|
)
|
||||||
|
|
||||||
require('roslyn').setup({
|
vim.lsp.config("roslyn", {
|
||||||
cmd = cmd,
|
cmd = cmd,
|
||||||
config = {
|
config = {
|
||||||
-- the rest of your Roslyn configuration
|
-- the rest of your Roslyn configuration
|
||||||
handlers = require("rzls.roslyn_handlers"),
|
handlers = require("rzls.roslyn_handlers"),
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
require('nvim-treesitter.configs').setup({
|
vim.lsp.config('nvim-treesitter.configs', {
|
||||||
highlight = { enable = true },
|
highlight = { enable = true },
|
||||||
})
|
})
|
||||||
|
|
||||||
|
vim.cmd("au ColorScheme * highlight MiniNotifyNormal guibg=NONE")
|
||||||
|
vim.cmd("au ColorScheme * highlight MiniNotifyTitle guibg=NONE")
|
||||||
|
vim.cmd("au ColorScheme * highlight MiniNotifyBorder guibg=NONE")
|
||||||
require("catppuccin").setup({
|
require("catppuccin").setup({
|
||||||
flavour = "auto", -- latte, frappe, macchiato, mocha
|
flavour = "auto", -- latte, frappe, macchiato, mocha
|
||||||
background = { -- :h background
|
background = { -- :h background
|
||||||
@@ -209,7 +248,7 @@ require("catppuccin").setup({
|
|||||||
},
|
},
|
||||||
transparent_background = true, -- disables setting the background color.
|
transparent_background = true, -- disables setting the background color.
|
||||||
show_end_of_buffer = false, -- shows the '~' characters after the end of buffers
|
show_end_of_buffer = false, -- shows the '~' characters after the end of buffers
|
||||||
term_colors = true, -- sets terminal colors (e.g. `g:terminal_color_0`)
|
term_colors = false, -- sets terminal colors (e.g. `g:terminal_color_0`)
|
||||||
dim_inactive = {
|
dim_inactive = {
|
||||||
enabled = false, -- dims the background color of inactive window
|
enabled = false, -- dims the background color of inactive window
|
||||||
shade = "dark",
|
shade = "dark",
|
||||||
|
Reference in New Issue
Block a user