lv-config.example-no-ts.lua 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. --[[
  2. O is the global options object
  3. Linters should be
  4. filled in as strings with either
  5. a global executable or a path to
  6. an executable
  7. ]]
  8. -- THESE ARE EXAMPLE CONFIGS FEEL FREE TO CHANGE TO WHATEVER YOU WANT
  9. -- general
  10. O.format_on_save = true
  11. O.completion.autocomplete = true
  12. O.colorscheme = "spacegray"
  13. O.auto_close_tree = 0
  14. O.wrap_lines = true
  15. O.timeoutlen = 100
  16. O.leader_key = " "
  17. O.ignore_case = true
  18. O.smart_case = true
  19. -- TODO User Config for predefined plugins
  20. -- After changing plugin config exit and reopen LunarVim, Run :PackerInstall :PackerCompile
  21. O.plugin.dashboard.active = true
  22. O.plugin.floatterm.active = true
  23. O.plugin.indent_line.active = false
  24. O.plugin.zen.active = false
  25. O.plugin.zen.window.height = 0.90
  26. -- if you don't want all the parsers change this to a table of the ones you want
  27. O.treesitter.ensure_installed = {}
  28. O.treesitter.ignore_install = { "haskell" }
  29. O.treesitter.highlight.enabled = true
  30. -- python
  31. -- O.python.linter = 'flake8'
  32. O.lang.python.isort = true
  33. O.lang.python.diagnostics.virtual_text = true
  34. O.lang.python.analysis.use_library_code_types = true
  35. -- javascript
  36. O.lang.tsserver.linter = nil
  37. -- Additional Plugins
  38. -- O.user_plugins = {
  39. -- {"folke/tokyonight.nvim"}, {
  40. -- "ray-x/lsp_signature.nvim",
  41. -- config = function() require"lsp_signature".on_attach() end,
  42. -- event = "InsertEnter"
  43. -- }
  44. -- }
  45. -- Autocommands (https://neovim.io/doc/user/autocmd.html)
  46. -- O.user_autocommands = {{ "BufWinEnter", "*", "echo \"hi again\""}}
  47. -- Additional Leader bindings for WhichKey
  48. -- O.user_which_key = {
  49. -- A = {
  50. -- name = "+Custom Leader Keys",
  51. -- a = { "<cmd>echo 'first custom command'<cr>", "Description for a" },
  52. -- b = { "<cmd>echo 'second custom command'<cr>", "Description for b" },
  53. -- },
  54. -- }