small changes
This commit is contained in:
+2
-1
@@ -46,7 +46,8 @@ map("i", "<S-Down>", "<C-X><C-E>")
|
||||
map("v", "y", "ygv<Esc>")
|
||||
|
||||
-- Terminal binds
|
||||
local term_command = "split | set norelativenumber | set nonumber | term"
|
||||
--local term_command = "split | set norelativenumber | set nonumber | term"
|
||||
local term_command = "split | term"
|
||||
map("t", "<C-Space>", [[<C-\><C-n>]])
|
||||
map("n", [[<Leader>\]], ":" .. term_command .. "<CR>")
|
||||
map("n", [[<Leader>|]], ":v" .. term_command .. "<CR>")
|
||||
|
||||
@@ -11,6 +11,7 @@ end
|
||||
function M.lsp_config_defaults()
|
||||
return {
|
||||
root_dir = require("lspconfig.util").root_pattern(
|
||||
".ccls",
|
||||
"manage.py",
|
||||
"pyproject.toml",
|
||||
"package.json",
|
||||
|
||||
@@ -174,7 +174,7 @@ function M.nvim_treesitter()
|
||||
},
|
||||
rainbow = {
|
||||
enable = true,
|
||||
disable = ts_visual_disable,
|
||||
disable = vim.tbl_extend("force", ts_visual_disable, { [5] = "svelte" }),
|
||||
extended_mode = true, -- Also highlight non-bracket delimiters like html tags, boolean or table: lang -> boolean
|
||||
max_file_lines = nil, -- Do not enable for files with more than n lines, int
|
||||
-- colors = {}, -- table of hex strings
|
||||
@@ -316,6 +316,7 @@ function M.null_ls()
|
||||
null_ls.builtins.diagnostics.mypy,
|
||||
null_ls.builtins.formatting.black,
|
||||
null_ls.builtins.formatting.isort,
|
||||
--null_ls.builtins.diagnostics.djlint,
|
||||
-- js
|
||||
null_ls.builtins.diagnostics.eslint,
|
||||
null_ls.builtins.code_actions.eslint,
|
||||
|
||||
Reference in New Issue
Block a user