| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 | --[[O is the global options objectFormatters and linters should befilled in as strings with eithera global executable or a path toan executable]] -- THESE ARE EXAMPLE CONFIGS FEEL FREE TO CHANGE TO WHATEVER YOU WANT-- generalO.auto_complete = trueO.colorscheme = 'lunar'O.auto_close_tree = 0O.wrap_lines = falseO.timeoutlen = 100O.document_highlight = trueO.extras = falseO.leader_key = ' 'O.ignore_case = trueO.smart_case = true-- After changing plugin config it is recommended to run :PackerCompileO.plugin.hop.active = falseO.plugin.dial.active = falseO.plugin.dashboard.active = trueO.plugin.matchup.active = falseO.plugin.colorizer.active = falseO.plugin.numb.active = falseO.plugin.ts_playground.active = falseO.plugin.indent_line.active = falseO.plugin.gitlinker.active = trueO.plugin.zen.active = true-- dashboard-- O.dashboard.custom_header = {""}-- O.dashboard.footer = {""}-- if you don't want all the parsers change this to a table of the ones you wantO.treesitter.ensure_installed = "all"O.treesitter.ignore_install = {"haskell"}O.treesitter.highlight.enabled = trueO.lang.clang.diagnostics.virtual_text = falseO.lang.clang.diagnostics.signs = falseO.lang.clang.diagnostics.underline = false-- python-- add things like O.python.formatter.yapf.exec_path-- add things like O.python.linter.flake8.exec_path-- add things like O.python.formatter.isort.exec_pathO.lang.python.formatter = 'yapf'-- O.python.linter = 'flake8'O.lang.python.active = trueO.lang.python.isort = trueO.lang.python.autoformat = trueO.lang.python.diagnostics.virtual_text = trueO.lang.python.diagnostics.signs = trueO.lang.python.diagnostics.underline = trueO.lang.python.analysis.type_checking = "off"O.lang.python.analysis.auto_search_paths = trueO.lang.python.analysis.use_library_code_types = true-- lua-- TODO look into styluaO.lang.lua.active = trueO.lang.lua.formatter = 'lua-format'-- O.lua.formatter = 'lua-format'O.lang.lua.autoformat = false-- javascriptO.lang.tsserver.formatter = 'prettier'O.lang.tsserver.linter = nilO.lang.tsserver.autoformat = true-- jsonO.lang.json.autoformat = true-- rubyO.lang.ruby.autoformat = true-- goO.lang.go.autoformat = true-- create custom autocommand field (This would be easy with lua)-- Turn off relative_numbers-- O.relative_number = false-- Turn off cursorline-- O.cursorline = false-- Neovim turns the default cursor to 'Block' -- when switched back into terminal.-- This below line fixes that. Uncomment if needed.-- vim.cmd('autocmd VimLeave,VimSuspend * set guicursor=a:ver90') -- Beam-- vim.cmd('autocmd VimLeave,VimSuspend * set guicursor=a:hor20') -- Underline-- NOTE: Above code doesn't take a value from the terminal's cursor and--       replace it. It hardcodes the cursor shape.--       And I think `ver` means vertical and `hor` means horizontal.--       The numbers didn't make a difference in alacritty. Please change--       the number to something that suits your needs if it looks weird.
 |