Skip to content

Commit

Permalink
fix(update): fix misset options
Browse files Browse the repository at this point in the history
  • Loading branch information
xav-ie committed Aug 26, 2024
1 parent 70f2a84 commit 6fe822b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
6 changes: 3 additions & 3 deletions config/plugins/bufferline.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
enable = true;
settings = {
options = {
separatorStyle = "thin";
showBufferCloseIcons = false;
separator_style = "thin";
showBuffer_close_icons = false;
indicator.icon = "▌";
tabSize = 0;
tab_size = 0;
};
};
};
Expand Down
7 changes: 3 additions & 4 deletions config/plugins/conform-nvim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
# auto-formatting
plugins.conform-nvim = {
enable = true;
# Map of file-type to formatters
settings = {
# Map of file-type to formatters
formattersByFt =
formatters_by_ft =
let
prettierFormat = [
[
Expand Down Expand Up @@ -34,7 +34,6 @@
# have other formatters configured.
"_" = [ "trim_whitespace" ];
};

format_on_save.__raw = # lua
''
function(bufnr)
Expand All @@ -44,7 +43,7 @@
return { timeout_ms = 500, lsp_format = "fallback" }
end
'';
notifyOnError = true;
notify_on_error = true;
};
};

Expand Down
10 changes: 5 additions & 5 deletions config/plugins/treesitter.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
# indent based on ast
indent.enable = true;
# this is SO useful
incrementalSelection = {
incremental_selection = {
enable = true;
keymaps = {
initSelection = "<C-space>";
nodeDecremental = "<bs>";
nodeIncremental = "<C-space>";
init_selection = "<C-space>";
node_decremental = "<bs>";
node_incremental = "<C-space>";
# IDK what this does
scopeIncremental = "grc";
scope_incremental = "grc";
};
};
};
Expand Down

0 comments on commit 6fe822b

Please sign in to comment.