mirror of
https://github.com/kossLAN/nvim-flake.git
synced 2025-11-05 02:09:49 -05:00
lsp: added rust and some notification management
This commit is contained in:
parent
a5108f68c1
commit
f7ae8e97b0
6 changed files with 59 additions and 2 deletions
|
|
@ -2,6 +2,7 @@ require('conform').setup {
|
|||
formatters_by_ft = {
|
||||
lua = { 'stylua' },
|
||||
nix = { 'alejandra' },
|
||||
rust = { 'rustfmt' },
|
||||
-- Conform will run multiple formatters sequentially
|
||||
-- python = { "isort", "black" },
|
||||
-- You can customize some of the format options for the filetype (:help conform.format)
|
||||
|
|
|
|||
1
nvim/plugin/fidget.lua
Normal file
1
nvim/plugin/fidget.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
require('fidget').setup {}
|
||||
9
nvim/plugin/notify.lua
Normal file
9
nvim/plugin/notify.lua
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
vim.notify = require('notify')
|
||||
-- vim.notify = require('notify').setup {
|
||||
-- -- Configuration options
|
||||
-- level = vim.log.levels.INFO, -- Set the minimum level of messages to display
|
||||
-- timeout = 3000, -- Duration to display notifications (in ms)
|
||||
-- stages = 'fade', -- Animation style for notifications
|
||||
-- }
|
||||
|
||||
-- Set nvim-notify as the default notification handler
|
||||
Loading…
Add table
Add a link
Reference in a new issue