Compare commits
3 Commits
6547dfe599
...
4bffd0150a
Author | SHA1 | Date |
---|---|---|
David JULIEN | 4bffd0150a | |
David JULIEN | 17e5453287 | |
David JULIEN | 9660285d8d |
|
@ -0,0 +1,13 @@
|
|||
-- Author : swytch
|
||||
-- Created : Thursday Dec. 01, 2022 11:41:26 CET
|
||||
-- License : GPLv3
|
||||
-- Description : rust settings file
|
||||
|
||||
local format_sync_grp = vim.api.nvim_create_augroup("Format", {})
|
||||
vim.api.nvim_create_autocmd("BufWritePre", {
|
||||
pattern = "*.rs",
|
||||
callback = function()
|
||||
vim.lsp.buf.format({ timeout_ms = 200 })
|
||||
end,
|
||||
group = format_sync_grp,
|
||||
})
|
|
@ -3,6 +3,7 @@
|
|||
# This file is sourced when launching a DM from startx/xinit
|
||||
# path
|
||||
export PATH="$(find $HOME/.local/bin -type d | tr '\n' ':' | sed 's/:$//'):$PATH"
|
||||
source "$XDG_DATA_HOME/cargo/env"
|
||||
|
||||
# environment variables
|
||||
## custom paths
|
||||
|
|
Reference in New Issue