feat!: rework config
This commit is contained in:
parent
a47663b174
commit
6caa743f37
@ -3,6 +3,12 @@ local capabilities = vim.lsp.protocol.make_client_capabilities()
|
|||||||
capabilities.textDocument.completion.completionItem.snippetSupport = true
|
capabilities.textDocument.completion.completionItem.snippetSupport = true
|
||||||
capabilities = cmp_nvim_lsp.default_capabilities(capabilities)
|
capabilities = cmp_nvim_lsp.default_capabilities(capabilities)
|
||||||
|
|
||||||
|
local function has_formatter(ft)
|
||||||
|
local sources = require 'null-ls.sources'
|
||||||
|
local available = sources.get_available(ft, 'NULL_LS_FORMATTING')
|
||||||
|
return #available > 0
|
||||||
|
end
|
||||||
|
|
||||||
local function lsp_keymaps(bufnr)
|
local function lsp_keymaps(bufnr)
|
||||||
local opt = { noremap = true, silent = true }
|
local opt = { noremap = true, silent = true }
|
||||||
local keymap = vim.api.nvim_buf_set_keymap
|
local keymap = vim.api.nvim_buf_set_keymap
|
||||||
@ -31,7 +37,7 @@ local on_attach = function(client, bufnr)
|
|||||||
local nls = require 'plugins.null-ls'
|
local nls = require 'plugins.null-ls'
|
||||||
|
|
||||||
local enable = false
|
local enable = false
|
||||||
if nls.has_formatter(ft) then
|
if has_formatter(ft) then
|
||||||
enable = client.name == 'null-ls'
|
enable = client.name == 'null-ls'
|
||||||
else
|
else
|
||||||
enable = not (client.name == 'null-ls')
|
enable = not (client.name == 'null-ls')
|
||||||
|
18
init.lua
18
init.lua
@ -1,3 +1,4 @@
|
|||||||
|
vim.loader.enable()
|
||||||
local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim'
|
local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim'
|
||||||
if not vim.loop.fs_stat(lazypath) then
|
if not vim.loop.fs_stat(lazypath) then
|
||||||
vim.fn.system {
|
vim.fn.system {
|
||||||
@ -6,21 +7,20 @@ if not vim.loop.fs_stat(lazypath) then
|
|||||||
'--filter=blob:none',
|
'--filter=blob:none',
|
||||||
'--single-branch',
|
'--single-branch',
|
||||||
'https://github.com/folke/lazy.nvim.git',
|
'https://github.com/folke/lazy.nvim.git',
|
||||||
lazypath,
|
lazypath,
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
vim.opt.runtimepath:prepend(lazypath)
|
vim.opt.runtimepath:prepend(lazypath)
|
||||||
|
|
||||||
require 'config.settings'
|
|
||||||
require 'config.lazy'
|
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd('User', {
|
vim.api.nvim_create_autocmd('User', {
|
||||||
pattern = 'VeryLazy',
|
pattern = 'LazyVimStarted',
|
||||||
callback = function()
|
callback = function()
|
||||||
require 'config.autocmd'
|
require 'config.mappings'
|
||||||
require 'config.mappings'
|
require 'config.autocmd'
|
||||||
|
require 'feline'
|
||||||
|
require 'nvim-treesitter'
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
-- vim.o.background = 'dark'
|
require 'config.settings'
|
||||||
|
require 'config.lazy'
|
||||||
vim.cmd 'colorscheme neogruber'
|
vim.cmd 'colorscheme neogruber'
|
||||||
|
338
java-format.xml
338
java-format.xml
@ -1,338 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<profiles version="13">
|
|
||||||
<profile kind="CodeFormatterProfile" name="GoogleStyle" version="13">
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="end_of_line"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_cascading_method_invocation_with_arguments.count_dependent" value="16|-1|16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.use_on_off_tags" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.wrap_prefer_two_fragments" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.wrap_comment_inline_tags" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_local_variable_declaration" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_parameter" value="1040"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_type.count_dependent" value="1585|-1|1585"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression" value="80"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields.count_dependent" value="16|-1|16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_binary_operator" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_array_initializer" value="end_of_line"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression.count_dependent" value="16|4|80"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration.count_dependent" value="16|4|48"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration.count_dependent" value="16|4|49"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk" value="1"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_binary_operator" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_package" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_cascading_method_invocation_with_arguments" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.compiler.source" value="1.7"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration.count_dependent" value="16|4|48"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_line_comments" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.join_wrapped_lines" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.wrap_non_simple_local_variable_annotation" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_member_type" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants.count_dependent" value="16|5|48"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_unary_operator" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.indent_parameter_description" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.lineSplit" value="100"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation.count_dependent" value="16|4|48"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.enabling_tag" value="@formatter:on"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_package" value="1585"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.compiler.problem.assertIdentifier" value="error"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="space"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method" value="1"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.wrap_non_simple_type_annotation" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_field_declaration" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration" value="end_of_line"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_method_declaration" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_switch" value="end_of_line"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.compiler.problem.enumIdentifier" value="error"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_generic_type_arguments" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment_new_line_at_start_of_html_paragraph" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_ellipsis" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block" value="end_of_line"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comment_prefix" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration" value="end_of_line"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.compact_else_if" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.wrap_non_simple_parameter_annotation" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_method" value="1585"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.indent_root_tags" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant" value="end_of_line"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="2"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation.count_dependent" value="16|5|80"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_parameter.count_dependent" value="1040|-1|1040"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_package.count_dependent" value="1585|-1|1585"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_empty_lines" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.force_if_else_statement_brace" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block_in_case" value="end_of_line"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve" value="3"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.wrap_non_simple_package_annotation" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation.count_dependent" value="16|-1|16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_type" value="1585"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.compiler.compliance" value="1.7"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer" value="2"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_unary_operator" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_new_anonymous_class" value="20"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_local_variable.count_dependent" value="1585|-1|1585"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_field.count_dependent" value="1585|-1|1585"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration.count_dependent" value="16|5|80"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration" value="end_of_line"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode" value="enabled"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_label" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant.count_dependent" value="16|-1|16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="100"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_import_groups" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration" value="end_of_line"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.wrap_before_binary_operator" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations" value="2"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_block" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.join_lines_in_comments" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_field" value="1585"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer.count_dependent" value="16|5|80"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_source_code" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.compiler.codegen.targetPlatform" value="1.7"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_resources_in_try" value="80"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration.count_dependent" value="16|4|48"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_method.count_dependent" value="1585|-1|1585"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration" value="end_of_line"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression.count_dependent" value="16|-1|16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.wrap_non_simple_member_annotation" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_local_variable" value="1585"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call.count_dependent" value="16|5|80"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_generic_type_arguments.count_dependent" value="16|-1|16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression.count_dependent" value="16|5|80"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration.count_dependent" value="16|5|80"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports" value="1"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_for_statement" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line" value="false"/>
|
|
||||||
</profile>
|
|
||||||
</profiles>
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
|||||||
-- vim.api.nvim_set_hl(0, 'NormalFloat', { bg = '#282828' })
|
-- vim.api.nvim_set_hl(0, 'NormalFloat', { bg = '#282828' })
|
||||||
-- vim.api.nvim_set_hl(0, 'FloatBorder', { bg = 'NONE' })
|
-- vim.api.nvim_set_hl(0, 'FloatBorder', { bg = 'NONE' }) vim.api.nvim_set_hl(0, 'Pmenu', { bg = 'NONE' })
|
||||||
-- vim.api.nvim_set_hl(0, 'Pmenu', { bg = 'NONE' })
|
|
||||||
-- vim.api.nvim_set_hl(0, 'StatusLine', { bg = 'NONE' })
|
-- vim.api.nvim_set_hl(0, 'StatusLine', { bg = 'NONE' })
|
||||||
|
local function augroup(name)
|
||||||
|
return vim.api.nvim_create_augroup('neo_' .. name, { clear = true })
|
||||||
|
end
|
||||||
|
|
||||||
-- Use 'q' to quit from common plugins
|
-- Use 'q' to quit from common plugins
|
||||||
vim.api.nvim_create_autocmd({ 'FileType' }, {
|
vim.api.nvim_create_autocmd({ 'FileType' }, {
|
||||||
@ -24,8 +26,6 @@ vim.api.nvim_create_autocmd({ 'FileType' }, {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.cmd "autocmd BufEnter * ++nested if winnr('$') == 1 && bufname() == 'NvimTree_' . tabpagenr() | quit | endif"
|
|
||||||
|
|
||||||
-- Fixes Autocomment
|
-- Fixes Autocomment
|
||||||
vim.api.nvim_create_autocmd({ 'BufWinEnter' }, {
|
vim.api.nvim_create_autocmd({ 'BufWinEnter' }, {
|
||||||
callback = function()
|
callback = function()
|
||||||
@ -49,4 +49,32 @@ vim.api.nvim_create_autocmd({ 'DiagnosticChanged' }, {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- resize splits if window got resized
|
||||||
|
vim.api.nvim_create_autocmd({ 'VimResized' }, {
|
||||||
|
group = augroup 'resize_splits',
|
||||||
|
callback = function()
|
||||||
|
vim.cmd 'tabdo wincmd ='
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
|
-- wrap and check for spell in text filetypes
|
||||||
|
vim.api.nvim_create_autocmd('FileType', {
|
||||||
|
group = augroup 'wrap_spell',
|
||||||
|
pattern = { 'gitcommit', 'markdown' },
|
||||||
|
callback = function()
|
||||||
|
vim.opt_local.wrap = true
|
||||||
|
vim.opt_local.spell = true
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
function ToggleTroubleAuto()
|
||||||
|
local ok, trouble = pcall(require, 'trouble')
|
||||||
|
if ok then
|
||||||
|
vim.defer_fn(function()
|
||||||
|
vim.cmd 'cclose'
|
||||||
|
trouble.open 'quickfix'
|
||||||
|
end, 0)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
-- vim.cmd "autocmd VimLeave * call os.execute("mkdir /tmp/nvim"), writefile([getcwd()], expand('/tmp/nvim/cwd'))"
|
||||||
vim.cmd [[autocmd BufWinEnter quickfix silent :lua ToggleTroubleAuto()]]
|
vim.cmd [[autocmd BufWinEnter quickfix silent :lua ToggleTroubleAuto()]]
|
||||||
|
@ -1,31 +1,23 @@
|
|||||||
require('lazy').setup('plugins', {
|
require('lazy').setup('plugins', {
|
||||||
defaults = { lazy = true },
|
defaults = { lazy = true },
|
||||||
checker = { enabled = false },
|
|
||||||
diff = {
|
|
||||||
cmd = 'terminal_git',
|
|
||||||
},
|
|
||||||
change_detection = {
|
change_detection = {
|
||||||
enabled = false,
|
enabled = false,
|
||||||
},
|
},
|
||||||
performance = {
|
performance = {
|
||||||
cache = {
|
|
||||||
enabled = true,
|
|
||||||
-- disable_events = {},
|
|
||||||
},
|
|
||||||
rtp = {
|
rtp = {
|
||||||
reset = true,
|
reset = true,
|
||||||
paths = { '~/.local/share/nvim/site/' },
|
-- paths = { '~/.local/share/nvim/site/' },
|
||||||
disabled_plugins = {
|
disabled_plugins = {
|
||||||
|
'fzf',
|
||||||
'gzip',
|
'gzip',
|
||||||
'matchit',
|
'matchit',
|
||||||
-- "matchparen",
|
'matchparen',
|
||||||
'netrwPlugin',
|
'netrwPlugin',
|
||||||
'netrw',
|
'netrw',
|
||||||
'tarPlugin',
|
'tarPlugin',
|
||||||
'tohtml',
|
'tohtml',
|
||||||
'tutor',
|
'tutor',
|
||||||
'zipPlugin',
|
'zipPlugin',
|
||||||
'nvim-treesitter-textobjects',
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
-- Set leader {{{
|
-- TODO: Remove this
|
||||||
vim.api.nvim_set_keymap('n', '<Space>', '<NOP>', { noremap = true, silent = true })
|
vim.api.nvim_set_keymap('n', '<insert>', '<cmd>Lazy profile<cr>', { noremap = true, silent = true })
|
||||||
vim.g.mapleader = ' '
|
|
||||||
-- }}}
|
|
||||||
-- resize {{{
|
-- resize {{{
|
||||||
vim.api.nvim_set_keymap('n', '<c-up>', '<cmd>resize -2<cr>', { noremap = true, silent = true })
|
vim.api.nvim_set_keymap('n', '<c-up>', '<cmd>resize -2<cr>', { noremap = true, silent = true })
|
||||||
vim.api.nvim_set_keymap('n', '<c-down>', '<cmd>resize +2<cr>', { noremap = true, silent = true })
|
vim.api.nvim_set_keymap('n', '<c-down>', '<cmd>resize +2<cr>', { noremap = true, silent = true })
|
||||||
@ -16,7 +14,6 @@ vim.api.nvim_set_keymap('v', '>', '>gv', { noremap = true, silent = true })
|
|||||||
vim.api.nvim_set_keymap('n', '<cr>', "@=(foldlevel('.')?'za':\"<Space>\")<CR>", { noremap = true, silent = true })
|
vim.api.nvim_set_keymap('n', '<cr>', "@=(foldlevel('.')?'za':\"<Space>\")<CR>", { noremap = true, silent = true })
|
||||||
-- }}}
|
-- }}}
|
||||||
-- terminal {{{
|
-- terminal {{{
|
||||||
vim.api.nvim_set_keymap('n', '<insert>', '<cmd>Lazy profile<cr>', { noremap = true, silent = true })
|
|
||||||
vim.api.nvim_set_keymap('n', '<home>', '<cmd>ToggleTerm direction=horizontal<cr>', { noremap = true, silent = true })
|
vim.api.nvim_set_keymap('n', '<home>', '<cmd>ToggleTerm direction=horizontal<cr>', { noremap = true, silent = true })
|
||||||
vim.api.nvim_set_keymap('t', '<home>', '<cmd>ToggleTerm direction=horizontal<cr>', { noremap = true, silent = true })
|
vim.api.nvim_set_keymap('t', '<home>', '<cmd>ToggleTerm direction=horizontal<cr>', { noremap = true, silent = true })
|
||||||
vim.api.nvim_set_keymap('v', '<home>', '<cmd>ToggleTerm direction=horizontal<cr>', { noremap = true, silent = true })
|
vim.api.nvim_set_keymap('v', '<home>', '<cmd>ToggleTerm direction=horizontal<cr>', { noremap = true, silent = true })
|
||||||
@ -26,20 +23,6 @@ vim.api.nvim_set_keymap('t', '<end>', '<cmd>ToggleTerm direction=vertical<cr>',
|
|||||||
vim.api.nvim_set_keymap('v', '<end>', '<cmd>ToggleTerm direction=vertical<cr>', { noremap = true, silent = true })
|
vim.api.nvim_set_keymap('v', '<end>', '<cmd>ToggleTerm direction=vertical<cr>', { noremap = true, silent = true })
|
||||||
vim.api.nvim_set_keymap('i', '<end>', '<cmd>ToggleTerm direction=vertical<cr>', { noremap = true, silent = true })
|
vim.api.nvim_set_keymap('i', '<end>', '<cmd>ToggleTerm direction=vertical<cr>', { noremap = true, silent = true })
|
||||||
-- }}}
|
-- }}}
|
||||||
-- misc {{{
|
|
||||||
vim.api.nvim_set_keymap('v', '<C-p>', '"_dp', { noremap = true, silent = true })
|
|
||||||
vim.api.nvim_set_keymap('x', 'E', ":move '<-2<cr>gv-gv", { noremap = true, silent = true })
|
|
||||||
vim.api.nvim_set_keymap('x', 'N', ":move '>+1<cr>gv-gv", { noremap = true, silent = true })
|
|
||||||
vim.api.nvim_set_keymap('n', '<c-\\>', 'z=1<cr><cr>', { noremap = true, silent = true })
|
|
||||||
-- vim.api.nvim_set_keymap(
|
|
||||||
-- 'n',
|
|
||||||
-- '<leader>lf',
|
|
||||||
-- '<cmd>lua vim.lsp.buf.format { async = true }<cr>',
|
|
||||||
-- { noremap = true, silent = true }
|
|
||||||
-- )
|
|
||||||
|
|
||||||
-- }}}
|
|
||||||
-- vim.api.nvim_set_keymap("n", "", "<cmd><cr>", { noremap = true, silent = true })
|
|
||||||
|
|
||||||
vim.api.nvim_set_keymap('n', '<BS>', ':', { noremap = true })
|
vim.api.nvim_set_keymap('n', '<BS>', ':', { noremap = true })
|
||||||
vim.api.nvim_set_keymap('n', ';', ':', { noremap = true })
|
vim.api.nvim_set_keymap('n', ';', ':', { noremap = true })
|
||||||
|
@ -1,37 +1,20 @@
|
|||||||
local g = vim.g
|
local g = vim.g
|
||||||
local opt = vim.opt
|
local opt = vim.opt
|
||||||
local function add(value, str, sep)
|
|
||||||
sep = sep or ','
|
|
||||||
str = str or ''
|
|
||||||
value = type(value) == 'table' and table.concat(value, sep) or value
|
|
||||||
return str ~= '' and table.concat({ value, str }, sep) or value
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Globals {{{
|
|
||||||
g.netrw_liststyle = 1
|
|
||||||
g.netrw_banner = 0
|
|
||||||
g.netrw_list_hide = '^\\..*'
|
|
||||||
g.mapleader = ' '
|
g.mapleader = ' '
|
||||||
g.tex_flavor = 'latex'
|
g.tex_flavor = 'latex'
|
||||||
g.c_syntax_for_h = true
|
g.c_syntax_for_h = true
|
||||||
-- }}}
|
|
||||||
-- Opts {{{
|
--opt.wildoptions = true -- TODO: see how it works
|
||||||
-- opt.formatoptions = ""
|
|
||||||
opt.wildoptions = 'tagfile'
|
|
||||||
--opt.wildchar = 'c'
|
|
||||||
opt.termguicolors = true
|
opt.termguicolors = true
|
||||||
opt.guifont = 'JetBrainsMono Nerd Font'
|
|
||||||
opt.guicursor = 'n-v-c-sm:hor20,i-ci-ve:ver20,r-cr-o:Block'
|
opt.guicursor = 'n-v-c-sm:hor20,i-ci-ve:ver20,r-cr-o:Block'
|
||||||
opt.mouse = 'nv'
|
opt.mouse = 'nv'
|
||||||
opt.path = '.,,**h'
|
opt.path = '.,,**h'
|
||||||
opt.pumheight = 10
|
-- opt.pumheight = 10 -- TODO: probably to change
|
||||||
opt.fileencoding = 'utf-8'
|
opt.fileencoding = 'utf-8'
|
||||||
opt.splitbelow = true
|
opt.splitbelow = true
|
||||||
opt.splitright = true
|
opt.splitright = true
|
||||||
-- opt.ts = 4
|
opt.smartindent = false -- TODO: maybe?
|
||||||
-- opt.sw = 4
|
|
||||||
opt.smartindent = false
|
|
||||||
--opt.expandtab " Converts tabs to spaces
|
|
||||||
opt.showmode = false
|
opt.showmode = false
|
||||||
opt.undofile = true
|
opt.undofile = true
|
||||||
opt.updatetime = 300
|
opt.updatetime = 300
|
||||||
@ -39,44 +22,24 @@ opt.backup = false
|
|||||||
opt.clipboard:prepend { 'unnamedplus' }
|
opt.clipboard:prepend { 'unnamedplus' }
|
||||||
opt.smartcase = true
|
opt.smartcase = true
|
||||||
opt.cursorline = true
|
opt.cursorline = true
|
||||||
opt.viewoptions = 'folds,cursor'
|
|
||||||
opt.sessionoptions = 'folds'
|
opt.sessionoptions = 'folds'
|
||||||
opt.foldmethod = 'marker'
|
opt.foldmethod = 'marker'
|
||||||
opt.foldlevel = 0
|
opt.foldlevel = 0
|
||||||
opt.number = true
|
opt.number = true
|
||||||
opt.hidden = true
|
opt.hidden = true
|
||||||
-- opt.shortmess = add { 'I' } -- Don't pass messages to ins-completion-menu.
|
|
||||||
opt.shortmess:append('I', 'W', 's')
|
opt.shortmess:append('I', 'W', 's')
|
||||||
opt.cmdheight = 1
|
-- opt.scrolloff = 15 -- TODO: maybe ?
|
||||||
opt.scrolloff = 15
|
|
||||||
opt.iskeyword:prepend { '-' }
|
opt.iskeyword:prepend { '-' }
|
||||||
opt.inccommand = 'nosplit'
|
opt.inccommand = 'nosplit'
|
||||||
opt.completeopt = { 'menu', 'menuone', 'noselect' }
|
opt.completeopt:append 'menuone'
|
||||||
opt.timeoutlen = 300
|
opt.timeoutlen = 300
|
||||||
opt['foldenable'] = false
|
opt['foldenable'] = false
|
||||||
-- opt.fillchars = 'vert:▏'
|
opt.fillchars = 'eob: '
|
||||||
opt.fillchars.eob = ' '
|
opt.cmdheight = 1
|
||||||
-- opt.fillchars.vert="▏"
|
opt.grepprg = 'rg --vimgrep --no-heading --smart-case'
|
||||||
opt.sessionoptions = add { 'options', 'resize', 'winpos', 'terminal' }
|
-- opt.autochdir = true
|
||||||
opt.autochdir = false
|
|
||||||
-- }}}
|
|
||||||
-- Commands and autocommands {{{
|
|
||||||
vim.api.nvim_create_user_command('Pdf', '!pandoc % -o %:r.pdf', { nargs = 0 })
|
|
||||||
vim.api.nvim_create_user_command('Slide', '!pandoc -t beamer % -o %:r.pdf', { nargs = 0 })
|
|
||||||
vim.api.nvim_create_user_command('Cd', 'lcd %:p:h', { nargs = 0 })
|
|
||||||
|
|
||||||
-- vim.api.nvim_create_autocmd({ 'BufWinLeave', 'BufLeave', 'WinLeave' }, { pattern = { '?*' }, command = 'mkview' })
|
vim.api.nvim_create_user_command('Cd', 'lcd %:p:h', { nargs = 0 })
|
||||||
-- vim.api.nvim_create_autocmd({ 'BufWinEnter' }, { pattern = { '?*' }, command = 'silent! loadview' })
|
|
||||||
-- }}}
|
|
||||||
function ToggleTroubleAuto()
|
|
||||||
local ok, trouble = pcall(require, 'trouble')
|
|
||||||
if ok then
|
|
||||||
vim.defer_fn(function()
|
|
||||||
vim.cmd 'cclose'
|
|
||||||
trouble.open 'quickfix'
|
|
||||||
end, 0)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
local ignore_buftype = { 'quickfix', 'nofile', 'help' }
|
local ignore_buftype = { 'quickfix', 'nofile', 'help' }
|
||||||
local ignore_filetype = { 'gitcommit', 'gitrebase', 'svn', 'hgcommit' }
|
local ignore_filetype = { 'gitcommit', 'gitrebase', 'svn', 'hgcommit' }
|
||||||
@ -95,6 +58,7 @@ local function run()
|
|||||||
-- If a line has already been specified on the command line, we are done
|
-- If a line has already been specified on the command line, we are done
|
||||||
-- nvim file +num
|
-- nvim file +num
|
||||||
if vim.fn.line '.' > 1 then
|
if vim.fn.line '.' > 1 then
|
||||||
|
vim.cmd [[normal! zz]]
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -9,19 +9,41 @@ local M = {
|
|||||||
'hrsh7th/cmp-buffer',
|
'hrsh7th/cmp-buffer',
|
||||||
'hrsh7th/cmp-cmdline',
|
'hrsh7th/cmp-cmdline',
|
||||||
'hrsh7th/cmp-path',
|
'hrsh7th/cmp-path',
|
||||||
'hrsh7th/cmp-calc',
|
|
||||||
},
|
},
|
||||||
event = { 'InsertEnter', 'CmdlineEnter' },
|
event = { 'InsertEnter', 'CmdlineEnter' },
|
||||||
|
version = false,
|
||||||
}
|
}
|
||||||
|
|
||||||
function M.config()
|
function M.config()
|
||||||
|
local kind_icons = {
|
||||||
|
Text = '',
|
||||||
|
Method = '',
|
||||||
|
Function = '',
|
||||||
|
Constructor = '',
|
||||||
|
Field = '',
|
||||||
|
Variable = '',
|
||||||
|
Class = 'ﴯ',
|
||||||
|
Interface = '',
|
||||||
|
Module = '',
|
||||||
|
Property = 'ﰠ',
|
||||||
|
Unit = '',
|
||||||
|
Value = '',
|
||||||
|
Enum = '',
|
||||||
|
Keyword = '',
|
||||||
|
Snippet = '',
|
||||||
|
Color = '',
|
||||||
|
File = '',
|
||||||
|
Reference = '',
|
||||||
|
Folder = '',
|
||||||
|
EnumMember = '',
|
||||||
|
Constant = '',
|
||||||
|
Struct = '',
|
||||||
|
Event = '',
|
||||||
|
Operator = '',
|
||||||
|
TypeParameter = '',
|
||||||
|
}
|
||||||
local cmp = require 'cmp'
|
local cmp = require 'cmp'
|
||||||
|
|
||||||
local ELLIPSIS_CHAR = '…'
|
|
||||||
local MAX_LABEL_WIDTH = 20
|
|
||||||
|
|
||||||
--[[ local winhighlight = 'NormalFloat:Pmenu,NormalFloat:Pmenu,CursorLine:PmenuSel,Search:None' ]]
|
|
||||||
|
|
||||||
local has_words_before = function()
|
local has_words_before = function()
|
||||||
local line, col = unpack(vim.api.nvim_win_get_cursor(0))
|
local line, col = unpack(vim.api.nvim_win_get_cursor(0))
|
||||||
return col ~= 0 and vim.api.nvim_buf_get_lines(0, line - 1, line, true)[1]:sub(col, col):match '%s' == nil
|
return col ~= 0 and vim.api.nvim_buf_get_lines(0, line - 1, line, true)[1]:sub(col, col):match '%s' == nil
|
||||||
@ -38,7 +60,8 @@ function M.config()
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
completion = {
|
completion = {
|
||||||
autocomplete = false,
|
autocomplete = { 'TextChanged', 'CmdlineChanged', 'TextChangedP' },
|
||||||
|
-- autocomplete = false,
|
||||||
},
|
},
|
||||||
snippet = {
|
snippet = {
|
||||||
expand = function(args)
|
expand = function(args)
|
||||||
@ -46,14 +69,6 @@ function M.config()
|
|||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
window = {
|
window = {
|
||||||
--[[ completion = {
|
|
||||||
border = 'rounded',
|
|
||||||
winhighlight = winhighlight,
|
|
||||||
},
|
|
||||||
documentation = {
|
|
||||||
border = 'rounded',
|
|
||||||
winhighlight = winhighlight,
|
|
||||||
}, ]]
|
|
||||||
completion = cmp.config.window.bordered(),
|
completion = cmp.config.window.bordered(),
|
||||||
documentation = cmp.config.window.bordered(),
|
documentation = cmp.config.window.bordered(),
|
||||||
},
|
},
|
||||||
@ -62,20 +77,8 @@ function M.config()
|
|||||||
},
|
},
|
||||||
formatting = {
|
formatting = {
|
||||||
fields = { 'menu', 'abbr', 'kind' },
|
fields = { 'menu', 'abbr', 'kind' },
|
||||||
format = function(entry, item)
|
format = function(_, item)
|
||||||
local menu_icon = {
|
item.kind = string.format('%s %s', kind_icons[item.kind], item.kind) -- This concatonates the icons with the name of the item kind
|
||||||
nvim_lsp = 'λ',
|
|
||||||
snippy = '⋗',
|
|
||||||
buffer = 'Ω',
|
|
||||||
path = '🖫',
|
|
||||||
}
|
|
||||||
|
|
||||||
item.menu = menu_icon[entry.source.name]
|
|
||||||
local label = item.abbr
|
|
||||||
local truncated_label = vim.fn.strcharpart(label, 0, MAX_LABEL_WIDTH)
|
|
||||||
if truncated_label ~= label then
|
|
||||||
item.abbr = truncated_label .. ELLIPSIS_CHAR
|
|
||||||
end
|
|
||||||
return item
|
return item
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
@ -92,7 +95,7 @@ function M.config()
|
|||||||
['<CR>'] = cmp.mapping.confirm { select = true },
|
['<CR>'] = cmp.mapping.confirm { select = true },
|
||||||
['<Tab>'] = cmp.mapping(function(fallback)
|
['<Tab>'] = cmp.mapping(function(fallback)
|
||||||
if cmp.visible() then
|
if cmp.visible() then
|
||||||
cmp.select_next_item { behavior = cmp.SelectBehavior.Insert }
|
cmp.select_next_item { behavior = cmp.SelectBehavior.Select }
|
||||||
elseif require('snippy').can_expand_or_advance() then
|
elseif require('snippy').can_expand_or_advance() then
|
||||||
require('snippy').expand_or_advance()
|
require('snippy').expand_or_advance()
|
||||||
elseif has_words_before() then
|
elseif has_words_before() then
|
||||||
@ -117,7 +120,6 @@ function M.config()
|
|||||||
{ name = 'snippy' },
|
{ name = 'snippy' },
|
||||||
{ name = 'path' },
|
{ name = 'path' },
|
||||||
{ name = 'buffer' },
|
{ name = 'buffer' },
|
||||||
{ name = 'calc' },
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
cmp.setup.cmdline(':', {
|
cmp.setup.cmdline(':', {
|
||||||
@ -126,20 +128,19 @@ function M.config()
|
|||||||
sources = {
|
sources = {
|
||||||
{ name = 'cmdline' },
|
{ name = 'cmdline' },
|
||||||
{ name = 'path' },
|
{ name = 'path' },
|
||||||
{ name = 'calc' },
|
|
||||||
},
|
|
||||||
view = {
|
|
||||||
entries = { name = 'wildmenu', separator = ' · ' },
|
|
||||||
},
|
},
|
||||||
|
-- view = {
|
||||||
|
-- entries = { name = 'wildmenu', separator = ' · ' },
|
||||||
|
-- },
|
||||||
})
|
})
|
||||||
|
|
||||||
cmp.setup.cmdline('/', {
|
cmp.setup.cmdline('/', {
|
||||||
sources = {
|
sources = {
|
||||||
{ name = 'buffer' },
|
{ name = 'buffer' },
|
||||||
},
|
},
|
||||||
view = {
|
-- view = {
|
||||||
entries = { name = 'wildmenu', separator = ' · ' },
|
-- entries = { name = 'wildmenu', separator = ' · ' },
|
||||||
},
|
-- },
|
||||||
})
|
})
|
||||||
|
|
||||||
cmp.setup.filetype({ 'dap-repl', 'dapui_watches', 'dapui_hover' }, {
|
cmp.setup.filetype({ 'dap-repl', 'dapui_watches', 'dapui_hover' }, {
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
local M = {
|
local M = {
|
||||||
'feline-nvim/feline.nvim',
|
'feline-nvim/feline.nvim',
|
||||||
-- lazy = false
|
-- lazy = false
|
||||||
event = 'UIEnter',
|
-- event = 'UIEnter',
|
||||||
-- dependencies = {
|
-- event = 'VeryLazy',
|
||||||
-- 'nvim-tree/nvim-web-devicons',
|
dependencies = {
|
||||||
-- },
|
'nvim-tree/nvim-web-devicons',
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
function M.config()
|
function M.config()
|
||||||
|
@ -1,16 +1,17 @@
|
|||||||
return {
|
return {
|
||||||
'nvim-lua/plenary.nvim',
|
|
||||||
'folke/which-key.nvim',
|
'folke/which-key.nvim',
|
||||||
|
'nvim-lua/plenary.nvim',
|
||||||
'mfussenegger/nvim-jdtls',
|
'mfussenegger/nvim-jdtls',
|
||||||
|
'simrat39/rust-tools.nvim',
|
||||||
|
-- 'MunifTanjim/nui.nvim',
|
||||||
|
-- 'rcarriga/cmp-dap',
|
||||||
{
|
{
|
||||||
'phaazon/hop.nvim',
|
'phaazon/hop.nvim', -- event = 'BufRead',
|
||||||
-- event = 'BufRead',
|
|
||||||
keys = { { 's', ':HopChar2<cr>' }, { 'S', ':HopWord<cr>' } },
|
keys = { { 's', ':HopChar2<cr>' }, { 'S', ':HopWord<cr>' } },
|
||||||
config = function()
|
config = function()
|
||||||
require('hop').setup()
|
require('hop').setup()
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
'rcarriga/cmp-dap',
|
|
||||||
{
|
{
|
||||||
'stevearc/dressing.nvim',
|
'stevearc/dressing.nvim',
|
||||||
lazy = true,
|
lazy = true,
|
||||||
@ -32,7 +33,4 @@ return {
|
|||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{ 'nvim-tree/nvim-web-devicons', lazy = true },
|
|
||||||
'simrat39/rust-tools.nvim',
|
|
||||||
-- { 'dstein64/vim-startuptime', lazy = false },
|
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,17 @@
|
|||||||
local M = {
|
local M = {
|
||||||
'neovim/nvim-lspconfig',
|
'neovim/nvim-lspconfig',
|
||||||
name = 'lsp',
|
name = 'lsp',
|
||||||
event = 'BufRead',
|
event = { 'BufRead', 'BufNewFile' },
|
||||||
dependencies = { 'hrsh7th/cmp-nvim-lsp', 'williamboman/mason.nvim', 'williamboman/mason-lspconfig.nvim' },
|
-- lazy = false,
|
||||||
|
dependencies = { 'hrsh7th/cmp-nvim-lsp', 'williamboman/mason-lspconfig.nvim' },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
local function has_formatter(ft)
|
||||||
|
local sources = require 'null-ls.sources'
|
||||||
|
local available = sources.get_available(ft, 'NULL_LS_FORMATTING')
|
||||||
|
return #available > 0
|
||||||
|
end
|
||||||
|
|
||||||
function M.config()
|
function M.config()
|
||||||
require('mason-lspconfig').setup {
|
require('mason-lspconfig').setup {
|
||||||
automatic_installation = false,
|
automatic_installation = false,
|
||||||
@ -40,18 +47,6 @@ function M.config()
|
|||||||
local on_attach = function(client, bufnr)
|
local on_attach = function(client, bufnr)
|
||||||
--[[ vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc') ]]
|
--[[ vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc') ]]
|
||||||
lsp_keymaps(bufnr)
|
lsp_keymaps(bufnr)
|
||||||
if client.name == 'sumneko_lua' or client.name == 'lua_ls' then
|
|
||||||
client.server_capabilities.documentFormattingProvider = false
|
|
||||||
end
|
|
||||||
if client.name == 'clangd' then
|
|
||||||
client.server_capabilities.documentFormattingProvider = false
|
|
||||||
end
|
|
||||||
if client.name == 'gopls' then
|
|
||||||
client.server_capabilities.documentFormattingProvider = false
|
|
||||||
end
|
|
||||||
if client.name == 'jdtls' then
|
|
||||||
client.server_capabilities.documentFormattingProvider = false
|
|
||||||
end
|
|
||||||
if client.name == 'jdt.ls' then
|
if client.name == 'jdt.ls' then
|
||||||
client.server_capabilities.documentFormattingProvider = false
|
client.server_capabilities.documentFormattingProvider = false
|
||||||
vim.lsp.codelens.refresh()
|
vim.lsp.codelens.refresh()
|
||||||
@ -61,18 +56,14 @@ function M.config()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
local ft = vim.api.nvim_buf_get_option(bufnr, 'filetype')
|
local ft = vim.api.nvim_buf_get_option(bufnr, 'filetype')
|
||||||
local nls = require 'plugins.null-ls'
|
|
||||||
|
|
||||||
local enable = false
|
local enable = false
|
||||||
if nls.has_formatter(ft) then
|
if has_formatter(ft) then
|
||||||
enable = client.name == 'null-ls'
|
enable = client.name == 'null-ls'
|
||||||
else
|
else
|
||||||
enable = not (client.name == 'null-ls')
|
enable = not (client.name == 'null-ls')
|
||||||
end
|
end
|
||||||
|
|
||||||
if client.name == 'tsserver' then
|
|
||||||
enable = false
|
|
||||||
end
|
|
||||||
-- util.info(client.name .. " " .. (enable and "yes" or "no"), "format")
|
-- util.info(client.name .. " " .. (enable and "yes" or "no"), "format")
|
||||||
client.server_capabilities.documentFormattingProvider = enable
|
client.server_capabilities.documentFormattingProvider = enable
|
||||||
end
|
end
|
||||||
@ -90,6 +81,7 @@ function M.config()
|
|||||||
end
|
end
|
||||||
if server == 'clangd' then
|
if server == 'clangd' then
|
||||||
local clangd_flags = {
|
local clangd_flags = {
|
||||||
|
'-j=5',
|
||||||
'--all-scopes-completion',
|
'--all-scopes-completion',
|
||||||
'--suggest-missing-includes',
|
'--suggest-missing-includes',
|
||||||
'--background-index',
|
'--background-index',
|
||||||
|
@ -1,47 +0,0 @@
|
|||||||
local M = {
|
|
||||||
'jay-babu/mason-nvim-dap.nvim',
|
|
||||||
dependencies = {
|
|
||||||
'williamboman/mason.nvim',
|
|
||||||
'mfussenegger/nvim-dap',
|
|
||||||
},
|
|
||||||
cmd = { 'DapInstall', 'DapUninstall' },
|
|
||||||
}
|
|
||||||
|
|
||||||
function M.config()
|
|
||||||
local dap = require 'dap'
|
|
||||||
require('mason-nvim-dap').setup {
|
|
||||||
automatic_setup = true,
|
|
||||||
}
|
|
||||||
require('mason-nvim-dap').setup_handlers {
|
|
||||||
function(source_name)
|
|
||||||
-- all sources with no handler get passed here
|
|
||||||
|
|
||||||
-- Keep original functionality of `automatic_setup = true`
|
|
||||||
require 'mason-nvim-dap.automatic_setup'(source_name)
|
|
||||||
end,
|
|
||||||
elixir = function(source_name)
|
|
||||||
dap.adapters.mix_task = {
|
|
||||||
type = 'executable',
|
|
||||||
command = '/home/user/.local/share/nvim/mason/packages/elixir-ls/debugger.sh', -- debugger.bat for windows
|
|
||||||
args = {},
|
|
||||||
}
|
|
||||||
dap.configurations.elixir = {
|
|
||||||
{
|
|
||||||
type = 'mix_task',
|
|
||||||
name = 'mix test',
|
|
||||||
task = 'test',
|
|
||||||
taskArgs = { '--trace' },
|
|
||||||
request = 'launch',
|
|
||||||
startApps = true, -- for Phoenix projects
|
|
||||||
projectDir = '${workspaceFolder}',
|
|
||||||
requireFiles = {
|
|
||||||
'test/**/test_helper.exs',
|
|
||||||
'test/**/*_test.exs',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
end
|
|
||||||
|
|
||||||
return M
|
|
@ -7,15 +7,12 @@ local M = {
|
|||||||
-- 'clang-format',
|
-- 'clang-format',
|
||||||
-- 'clangd',
|
-- 'clangd',
|
||||||
-- 'gopls',
|
-- 'gopls',
|
||||||
-- -- 'lua-language-server',
|
-- 'lua-language-server',
|
||||||
-- 'rust-analyzer',
|
-- 'rust-analyzer',
|
||||||
-- 'prettierd',
|
-- 'prettierd',
|
||||||
-- -- 'stylua',
|
-- 'stylua',
|
||||||
-- 'shellcheck',
|
|
||||||
-- 'shfmt',
|
|
||||||
-- 'black',
|
|
||||||
-- }
|
-- }
|
||||||
|
--
|
||||||
-- function M.check()
|
-- function M.check()
|
||||||
-- local mr = require 'mason-registry'
|
-- local mr = require 'mason-registry'
|
||||||
-- for _, tool in ipairs(M.tools) do
|
-- for _, tool in ipairs(M.tools) do
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
local M = {
|
local M = {
|
||||||
'jose-elias-alvarez/null-ls.nvim',
|
'jose-elias-alvarez/null-ls.nvim',
|
||||||
dependencies = {
|
|
||||||
'LostNeophyte/null-ls-embedded',
|
|
||||||
},
|
|
||||||
ft = 'markdown',
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function M.config()
|
function M.config()
|
||||||
@ -57,15 +53,9 @@ function M.config()
|
|||||||
filetypes = { 'asm', 's' },
|
filetypes = { 'asm', 's' },
|
||||||
},
|
},
|
||||||
-- diagnostics.flake8
|
-- diagnostics.flake8
|
||||||
require('null-ls-embedded').nls_source,
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
function M.has_formatter(ft)
|
|
||||||
local sources = require 'null-ls.sources'
|
|
||||||
local available = sources.get_available(ft, 'NULL_LS_FORMATTING')
|
|
||||||
return #available > 0
|
|
||||||
end
|
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
@ -1,145 +0,0 @@
|
|||||||
local M = {
|
|
||||||
'mfussenegger/nvim-dap',
|
|
||||||
dependencies = {
|
|
||||||
{
|
|
||||||
'rcarriga/nvim-dap-ui',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
function M.init()
|
|
||||||
vim.keymap.set('n', '<leader>db', function()
|
|
||||||
require('dap').toggle_breakpoint()
|
|
||||||
end, { desc = 'Toggle Breakpoint' })
|
|
||||||
|
|
||||||
vim.keymap.set('n', '<leader>dc', function()
|
|
||||||
require('dap').continue()
|
|
||||||
end, { desc = 'Continue' })
|
|
||||||
|
|
||||||
vim.keymap.set('n', '<leader>dC', function()
|
|
||||||
require('dap').close()
|
|
||||||
end, { desc = 'Close' })
|
|
||||||
|
|
||||||
vim.keymap.set('n', '<leader>do', function()
|
|
||||||
require('dap').step_over()
|
|
||||||
end, { desc = 'Step Over' })
|
|
||||||
|
|
||||||
vim.keymap.set('n', '<leader>di', function()
|
|
||||||
require('dap').step_into()
|
|
||||||
end, { desc = 'Step Into' })
|
|
||||||
|
|
||||||
vim.keymap.set('n', '<leader>dw', function()
|
|
||||||
require('dap.ui.widgets').hover()
|
|
||||||
end, { desc = 'Widgets' })
|
|
||||||
|
|
||||||
vim.keymap.set('n', '<leader>dr', function()
|
|
||||||
require('dap').repl.open()
|
|
||||||
end, { desc = 'Repl' })
|
|
||||||
|
|
||||||
vim.keymap.set('n', '<leader>du', function()
|
|
||||||
require('dapui').toggle {}
|
|
||||||
end, { desc = 'Dap UI' })
|
|
||||||
|
|
||||||
vim.keymap.set('n', '<leader>dfb', function()
|
|
||||||
require('dapui').float_element('breakpoints', { enter = true })
|
|
||||||
end, { desc = 'Dap UI' })
|
|
||||||
|
|
||||||
vim.keymap.set('n', '<leader>dfS', function()
|
|
||||||
require('dapui').float_element('stacks', { enter = true })
|
|
||||||
end, { desc = 'Dap UI' })
|
|
||||||
|
|
||||||
vim.keymap.set('n', '<leader>dfw', function()
|
|
||||||
require('dapui').float_element('watches', { enter = true })
|
|
||||||
end, { desc = 'Dap UI' })
|
|
||||||
|
|
||||||
vim.keymap.set('n', '<leader>dfs', function()
|
|
||||||
require('dapui').float_element('scopes', { enter = true })
|
|
||||||
end, { desc = 'Dap UI' })
|
|
||||||
end
|
|
||||||
|
|
||||||
function M.config()
|
|
||||||
local dap = require 'dap'
|
|
||||||
|
|
||||||
local dapui = require 'dapui'
|
|
||||||
dapui.setup {
|
|
||||||
mapping = {
|
|
||||||
edit = 'l',
|
|
||||||
},
|
|
||||||
element_mappings = {
|
|
||||||
scopes = {
|
|
||||||
edit = 'l',
|
|
||||||
},
|
|
||||||
breakpoints = {
|
|
||||||
open = 'l',
|
|
||||||
},
|
|
||||||
stacks = {
|
|
||||||
open = 'l',
|
|
||||||
},
|
|
||||||
watches = {
|
|
||||||
edit = 'l',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
layouts = {
|
|
||||||
{
|
|
||||||
elements = {
|
|
||||||
-- Elements can be strings or table with id and size keys.
|
|
||||||
{ id = 'scopes', size = 0.25 },
|
|
||||||
'breakpoints',
|
|
||||||
'stacks',
|
|
||||||
-- "watches",
|
|
||||||
},
|
|
||||||
size = 50,
|
|
||||||
position = 'right',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
elements = {
|
|
||||||
'repl',
|
|
||||||
'console',
|
|
||||||
},
|
|
||||||
size = 0.25, -- 25% of total lines
|
|
||||||
position = 'bottom',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
floating = {
|
|
||||||
max_height = nil, -- These can be integers or a float between 0 and 1.
|
|
||||||
max_width = nil, -- Floats will be treated as percentage of your screen.
|
|
||||||
border = 'rounded', -- Border style. Can be "single", "double" or "rounded"
|
|
||||||
mappings = {
|
|
||||||
close = { 'q', '<Esc>' },
|
|
||||||
edit = 'l',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
windows = { indent = 1 },
|
|
||||||
render = {
|
|
||||||
max_type_length = nil, -- Can be integer or nil.
|
|
||||||
},
|
|
||||||
}
|
|
||||||
-- dap.listeners.after.event_initialized['dapui_config'] = function()
|
|
||||||
-- dapui.open {}
|
|
||||||
-- end
|
|
||||||
dap.listeners.before.event_terminated['dapui_config'] = function()
|
|
||||||
dapui.close {}
|
|
||||||
end
|
|
||||||
dap.listeners.before.event_exited['dapui_config'] = function()
|
|
||||||
dapui.close {}
|
|
||||||
end
|
|
||||||
require 'mason-nvim-dap'
|
|
||||||
end
|
|
||||||
|
|
||||||
-- - `DapBreakpoint` for breakpoints (default: `B`)
|
|
||||||
-- - `DapBreakpointCondition` for conditional breakpoints (default: `C`)
|
|
||||||
-- - `DapLogPoint` for log points (default: `L`)
|
|
||||||
-- - `DapStopped` to indicate where the debugee is stopped (default: `→`)
|
|
||||||
-- - `DapBreakpointRejected` to indicate breakpoints rejected by the debug
|
|
||||||
-- adapter (default: `R`)
|
|
||||||
--
|
|
||||||
-- You can customize the signs by setting them with the |sign_define()| function.
|
|
||||||
-- For example:
|
|
||||||
--
|
|
||||||
-- >
|
|
||||||
-- lua << EOF
|
|
||||||
-- vim.fn.sign_define('DapBreakpoint', {text='🛑', texthl='', linehl='', numhl=''})
|
|
||||||
-- EOF
|
|
||||||
-- <
|
|
||||||
|
|
||||||
return M
|
|
@ -1,38 +1,5 @@
|
|||||||
local M = {
|
return {
|
||||||
url = 'https://git.filnar.com/filnar/neogruber.nvim.git',
|
url = 'https://git.filnar.com/filnar/neogruber.nvim.git',
|
||||||
-- lazy = true,
|
lazy = false,
|
||||||
event = 'VeryLazy'
|
-- event = 'VeryLazy'
|
||||||
}
|
}
|
||||||
|
|
||||||
function M.config()
|
|
||||||
require('neogruber').setup {
|
|
||||||
borders = true, -- Split window borders
|
|
||||||
fade_nc = true, -- Fade non-current windows, making them more distinguishable
|
|
||||||
-- Style that is applied to various groups: see `highlight-args` for options
|
|
||||||
styles = {
|
|
||||||
comments = 'italic',
|
|
||||||
strings = 'NONE',
|
|
||||||
keywords = 'bold',
|
|
||||||
functions = 'NONE',
|
|
||||||
variables = 'NONE',
|
|
||||||
diagnostics = 'underline',
|
|
||||||
storage_class = 'bold',
|
|
||||||
structure = 'NONE',
|
|
||||||
loop_cond = 'bold',
|
|
||||||
builtin = 'bold',
|
|
||||||
},
|
|
||||||
disable = {
|
|
||||||
background = true, -- Disable setting the background color
|
|
||||||
cursorline = false, -- Disable the cursorline
|
|
||||||
eob_lines = true, -- Hide the end-of-buffer lines
|
|
||||||
},
|
|
||||||
-- Inverse highlight for different groups
|
|
||||||
inverse = {
|
|
||||||
match_paren = true,
|
|
||||||
},
|
|
||||||
custom_highlights = {}, -- Overwrite default highlight groups
|
|
||||||
custom_colors = {}, -- Overwrite default colors
|
|
||||||
}
|
|
||||||
end
|
|
||||||
|
|
||||||
return M
|
|
||||||
|
@ -23,7 +23,8 @@ function M.config()
|
|||||||
start_in_insert = true,
|
start_in_insert = true,
|
||||||
insert_mappings = true, -- whether or not the open mapping applies in insert mode
|
insert_mappings = true, -- whether or not the open mapping applies in insert mode
|
||||||
persist_size = true,
|
persist_size = true,
|
||||||
direction = 'horizontal', -- 'vertical' | 'horizontal' | 'window' | 'float',
|
-- direction = 'horizontal', -- 'vertical' | 'horizontal' | 'window' | 'float',
|
||||||
|
direction = 'float', -- 'vertical' | 'horizontal' | 'window' | 'float',
|
||||||
close_on_exit = true, -- close the terminal window when the process exits
|
close_on_exit = true, -- close the terminal window when the process exits
|
||||||
shell = vim.o.shell, -- change the default shell
|
shell = vim.o.shell, -- change the default shell
|
||||||
-- This field is only relevant if direction is set to 'float'
|
-- This field is only relevant if direction is set to 'float'
|
||||||
@ -33,13 +34,13 @@ function M.config()
|
|||||||
-- the 'curved' border is a custom border type
|
-- the 'curved' border is a custom border type
|
||||||
-- not natively supported but implemented in this plugin.
|
-- not natively supported but implemented in this plugin.
|
||||||
border = 'curved', -- | 'double' | 'shadow' | 'curved' --| ... other options supported by win open
|
border = 'curved', -- | 'double' | 'shadow' | 'curved' --| ... other options supported by win open
|
||||||
width = 100,
|
-- width = 100,
|
||||||
height = 30,
|
-- height = 30,
|
||||||
winblend = 0,
|
-- winblend = 20,
|
||||||
highlights = {
|
-- highlights = {
|
||||||
border = 'Normal',
|
-- border = 'Normal',
|
||||||
background = 'Normal',
|
-- background = 'Normal',
|
||||||
},
|
-- },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
@ -1,32 +1,29 @@
|
|||||||
local M = {
|
local M = {
|
||||||
'nvim-treesitter/nvim-treesitter',
|
'nvim-treesitter/nvim-treesitter',
|
||||||
-- lazy = false,
|
-- lazy = false,
|
||||||
event = 'BufReadPost',
|
-- dependencies = { 'nvim-treesitter/playground' },
|
||||||
|
-- event = { 'BufReadPost', 'BufNewFile' },
|
||||||
|
-- event = 'VeryLazy'
|
||||||
}
|
}
|
||||||
|
|
||||||
function M.config()
|
function M.config()
|
||||||
local configs = require 'nvim-treesitter.configs'
|
local configs = require 'nvim-treesitter.configs'
|
||||||
|
|
||||||
configs.setup {
|
configs.setup {
|
||||||
-- ensure_installed = {
|
ensure_installed = {
|
||||||
-- 'bash',
|
'bash',
|
||||||
-- 'c',
|
'c',
|
||||||
-- 'cpp',
|
'cpp',
|
||||||
-- 'go',
|
'go',
|
||||||
-- 'javascript',
|
'json',
|
||||||
-- 'typescript',
|
'lua',
|
||||||
-- 'json',
|
'python',
|
||||||
-- 'lua',
|
'rust',
|
||||||
-- 'python',
|
'markdown',
|
||||||
-- 'rust',
|
'markdown_inline',
|
||||||
-- 'html',
|
'regex',
|
||||||
-- 'css',
|
'vim',
|
||||||
-- 'toml',
|
},
|
||||||
-- 'latex',
|
|
||||||
-- 'markdown',
|
|
||||||
-- 'vim',
|
|
||||||
-- 'dot',
|
|
||||||
-- },
|
|
||||||
ignore_install = { 'haskell' },
|
ignore_install = { 'haskell' },
|
||||||
-- matchup = {
|
-- matchup = {
|
||||||
-- enable = true -- mandatory, false will disable the whole extension
|
-- enable = true -- mandatory, false will disable the whole extension
|
||||||
|
@ -13,7 +13,7 @@ function M.config()
|
|||||||
position = 'bottom', -- position of the list can be: bottom, top, left, right
|
position = 'bottom', -- position of the list can be: bottom, top, left, right
|
||||||
height = 10, -- height of the trouble list when position is top or bottom
|
height = 10, -- height of the trouble list when position is top or bottom
|
||||||
width = 50, -- width of the list when position is left or right
|
width = 50, -- width of the list when position is left or right
|
||||||
icons = false, -- use devicons for filenames
|
icons = true, -- use devicons for filenames
|
||||||
mode = 'quickfix', -- "workspace_diagnostics", "document_diagnostics", "quickfix", "lsp_references", "loclist"
|
mode = 'quickfix', -- "workspace_diagnostics", "document_diagnostics", "quickfix", "lsp_references", "loclist"
|
||||||
fold_open = '', -- icon used for open folds
|
fold_open = '', -- icon used for open folds
|
||||||
fold_closed = '', -- icon used for closed folds
|
fold_closed = '', -- icon used for closed folds
|
||||||
|
Loading…
Reference in New Issue
Block a user