aboutsummaryrefslogtreecommitdiffstats
path: root/nvim-primeagen/after
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-08-16 17:10:30 +0100
committerMatthew Lemon <y@yulqen.org>2023-08-16 17:10:30 +0100
commite362c45c3329cd260a2932f94ec0a95e90bc5c55 (patch)
tree9681003320bfb0476c48b511ae6939d9e7a90f3d /nvim-primeagen/after
parent32e46461cfc98f55bc5c402f5835e033f601b0c1 (diff)
Improves neovim config
Diffstat (limited to '')
-rw-r--r--nvim-primeagen/after/plugin/ale.lua1
-rw-r--r--nvim-primeagen/after/plugin/maximizer.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/nvim-primeagen/after/plugin/ale.lua b/nvim-primeagen/after/plugin/ale.lua
index b3b5c0d..e55090c 100644
--- a/nvim-primeagen/after/plugin/ale.lua
+++ b/nvim-primeagen/after/plugin/ale.lua
@@ -11,6 +11,7 @@ local linters = {
local fixers = {
python = {'ruff', 'isort', 'yapf', 'black', 'autoimport'},
go = {'gofmt'},
+ cpp = {'clang-format'},
rust = {'rustfmt'},
}
diff --git a/nvim-primeagen/after/plugin/maximizer.lua b/nvim-primeagen/after/plugin/maximizer.lua
new file mode 100644
index 0000000..ff652ae
--- /dev/null
+++ b/nvim-primeagen/after/plugin/maximizer.lua
@@ -0,0 +1 @@
+vim.keymap.set("n", "<C-w>m", vim.cmd.MaximizerToggle)