dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit a212c07e17b5ed5a43296c5dc3eb1cc3f5c3e8b9
parent 306068cd626bd6cf26ef17eaee67b5a5475175b5
Author: Alex Balgavy <alexander.balgavy@spaceapplications.com>
Date:   Mon, 15 Jan 2024 13:47:40 +0100

nvim: misc settings

Diffstat:
Mnvim/lua/config/mason-lspconfig.lua | 56++++++++++++++++++++++++++++----------------------------
Mnvim/lua/config/nvim-treesitter.lua | 4++--
2 files changed, 30 insertions(+), 30 deletions(-)

diff --git a/nvim/lua/config/mason-lspconfig.lua b/nvim/lua/config/mason-lspconfig.lua @@ -17,34 +17,34 @@ local servers = { -- Add clippy lints for Rust. checkOnSave = { allFeatures = true, - command = "clippy", - extraArgs = { - "--no-deps", - "--", - "-D", "clippy::pedantic", - "-D", "clippy::nursery", - "-D", "clippy::restriction", - "-A", "clippy::blanket_clippy_restriction_lints", - "-A", "clippy::missing_docs_in_private_items", - "-A", "clippy::implicit_return", - "-A", "clippy::question_mark_used", - "-A", "clippy::min_ident_chars", - "-A", "clippy::pattern_type_mismatch", - "-A", "clippy::single_call_fn", - "-A", "clippy::as_conversions", - "-A", "clippy::pub_with_shorthand", - "-A", "clippy::shadow_reuse", - "-A", "clippy::separated_literal_suffix", - "-A", "clippy::float_arithmetic", - "-A", "clippy::pub_use", - "-A", "clippy::single_char_lifetime_names", - "-A", "clippy::missing_trait_methods", - "-A", "clippy::multiple_unsafe_ops_per_block", -- broken on 0.1.74 - "-D", "rust_2018_idioms", - "-D", "missing_docs", - "-D", "warnings", - "-A", "clippy::too_many_lines"}, - -- command = "check", + -- command = "clippy", + -- extraArgs = { + -- "--no-deps", + -- "--", + -- "-D", "clippy::pedantic", + -- "-D", "clippy::nursery", + -- "-D", "clippy::restriction", + -- "-A", "clippy::blanket_clippy_restriction_lints", + -- "-A", "clippy::missing_docs_in_private_items", + -- "-A", "clippy::implicit_return", + -- "-A", "clippy::question_mark_used", + -- "-A", "clippy::min_ident_chars", + -- "-A", "clippy::pattern_type_mismatch", + -- "-A", "clippy::single_call_fn", + -- "-A", "clippy::as_conversions", + -- "-A", "clippy::pub_with_shorthand", + -- "-A", "clippy::shadow_reuse", + -- "-A", "clippy::separated_literal_suffix", + -- "-A", "clippy::float_arithmetic", + -- "-A", "clippy::pub_use", + -- "-A", "clippy::single_char_lifetime_names", + -- "-A", "clippy::missing_trait_methods", + -- "-A", "clippy::multiple_unsafe_ops_per_block", -- broken on 0.1.74 + -- "-D", "rust_2018_idioms", + -- "-D", "missing_docs", + -- "-D", "warnings", + -- "-A", "clippy::too_many_lines"}, + command = "check", -- extraArgs = { "--no-deps" }, }, procMacro = { diff --git a/nvim/lua/config/nvim-treesitter.lua b/nvim/lua/config/nvim-treesitter.lua @@ -1,6 +1,6 @@ require('nvim-treesitter.configs').setup { -- Add languages to be installed here that you want installed for treesitter - ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'typescript', 'vim', 'bash', 'ledger', 'ruby', + ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'typescript', 'vim', 'vimdoc', 'bash', 'ledger', 'ruby', 'python', 'java', 'sql'}, highlight = { enable = true }, @@ -11,7 +11,7 @@ require('nvim-treesitter.configs').setup { init_selection = '<c-space>', node_incremental = '<c-space>', scope_incremental = '<c-s>', - node_decremental = '<c-<plus>>', + node_decremental = '<c-+>', }, }, textobjects = {