mirror of
https://github.com/fred-drake/neovim.git
synced 2026-06-19 15:29:58 -05:00
Added csharp format support, cleaned neo-tree's aesthetics a bit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
{
|
||||
|
||||
# Couldn't get csharpier to work with nixvim -- package requires Dotnet SDK v6
|
||||
# but LSP requires v8. Workaround for now is to add csharpier as a tool in
|
||||
# the solution itself, and add a hook here to reformat on save.
|
||||
# TODO: Look at how to get rid of this hack
|
||||
extraConfigLua = ''
|
||||
vim.api.nvim_create_autocmd("BufWritePost", {
|
||||
pattern = "*.cs",
|
||||
command = "silent !dotnet dotnet-csharpier %"
|
||||
})
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user