lsp: added rust and some notification management

This commit is contained in:
kossLAN 2024-10-20 20:33:05 -04:00
parent a5108f68c1
commit f7ae8e97b0
Signed by: kossLAN
SSH key fingerprint: SHA256:bdV0x+wdQHGJ6LgmstH3KV8OpWY+OOFmJcPcB0wQPV8
6 changed files with 59 additions and 2 deletions

View file

@ -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
View file

@ -0,0 +1 @@
require('fidget').setup {}

9
nvim/plugin/notify.lua Normal file
View 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