1
Fork 0

Some indentation nvim tweaks

This commit is contained in:
prescientmoon 2024-06-11 11:43:35 +02:00
parent e761fadde0
commit 242df62d39
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
3 changed files with 14 additions and 4 deletions

View file

@ -93,5 +93,3 @@ local expanded = scrap.expand_many(abolishAbbreviations)
A.manyLocalAbbr(abbreviations) A.manyLocalAbbr(abbreviations)
A.manyLocalAbbr(expanded) A.manyLocalAbbr(expanded)
vim.opt_local.list = false -- The lsp usese tabs for formatting

View file

@ -45,6 +45,7 @@
"plenary": { "branch": "master", "commit": "4f71c0c4a196ceb656c824a70792f3df3ce6bb6d" }, "plenary": { "branch": "master", "commit": "4f71c0c4a196ceb656c824a70792f3df3ce6bb6d" },
"purescript": { "branch": "main", "commit": "82348352e6568fcc0385bd7c99a8ead3a479feea" }, "purescript": { "branch": "main", "commit": "82348352e6568fcc0385bd7c99a8ead3a479feea" },
"rust-tools": { "branch": "master", "commit": "676187908a1ce35ffcd727c654ed68d851299d3e" }, "rust-tools": { "branch": "master", "commit": "676187908a1ce35ffcd727c654ed68d851299d3e" },
"rzip": { "branch": "master", "commit": "f65400fed27b27c7cff7ef8d428c4e5ff749bf28" },
"scrap": { "branch": "main", "commit": "cc8453ed613932c744c3d1ec42f379b78bd8b92c" }, "scrap": { "branch": "main", "commit": "cc8453ed613932c744c3d1ec42f379b78bd8b92c" },
"ssr": { "branch": "main", "commit": "bb323ba621ac647b4ac5638b47666e3ef3c279e1" }, "ssr": { "branch": "main", "commit": "bb323ba621ac647b4ac5638b47666e3ef3c279e1" },
"telescope": { "branch": "master", "commit": "d90956833d7c27e73c621a61f20b29fdb7122709" }, "telescope": { "branch": "master", "commit": "d90956833d7c27e73c621a61f20b29fdb7122709" },

View file

@ -40,7 +40,7 @@ let
vim.opt = { vim.opt = {
# Basic options # Basic options
joinspaces = false; # No double spaces with join (mapped to qj in my config) joinspaces = false; # No double spaces with join (mapped to qj in my config)
list = true; # Show some invisible characters list = false; # I don't want to show things like tabs
cmdheight = 0; # Hide command line when it's not getting used cmdheight = 0; # Hide command line when it's not getting used
spell = true; # Spell checker spell = true; # Spell checker
@ -976,7 +976,10 @@ let
opts.format_on_save.lsp_fallback = true; opts.format_on_save.lsp_fallback = true;
opts.formatters_by_ft = let prettier = [ [ "prettierd" "prettier" ] ]; in opts.formatters_by_ft = let prettier = [ [ "prettierd" "prettier" ] ]; in
{ {
"*" = [ "codespell" "trim_whitespace" ]; "*" = [
# "codespell" # this one causes issues sometimes
"trim_whitespace"
];
lua = [ "stylua" ]; lua = [ "stylua" ];
python = [ "ruff_format" ]; python = [ "ruff_format" ];
@ -1395,6 +1398,14 @@ let
}; };
}; };
# }}} # }}}
# {{{ typescript support
# Required for yarn PNP to work
rzip = {
package = "lbrayner/vim-rzip";
cond = blacklist "vscode";
event = "VeryLazy";
};
# }}}
# }}} # }}}
# {{{ external # {{{ external
# These plugins integrate neovim with external services # These plugins integrate neovim with external services